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 class MessengerSaver : public DocumentSaver { 17 public: 18 MessengerSaver(const BMessenger& messenger); 19 virtual ~MessengerSaver(); 20 21 virtual status_t Save(Document* document); 22 23 private: 24 BMessenger fMessenger; 25 }; 26 27 #endif // MESSENGER_SAVER_H 28