1/* 2 * Copyright 2006, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan A��mus <superstippi@gmx.de> 7 */ 8 9#ifndef MESSENGER_SAVER_H 10#define MESSENGER_SAVER_H 11 12#include <Messenger.h> 13 14#include "DocumentSaver.h" 15 16/*! Sends a message with the HVIF file data over the given messenger */ 17class MessengerSaver : public DocumentSaver { 18 public: 19 MessengerSaver(const BMessenger& messenger); 20 virtual ~MessengerSaver(); 21 22 virtual status_t Save(Document* document); 23 24 private: 25 BMessenger fMessenger; 26}; 27 28#endif // MESSENGER_SAVER_H 29