2 * Copyright 2006, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Stephan Aßmus <superstippi@gmx.de>
9 #ifndef MESSENGER_SAVER_H
10 #define MESSENGER_SAVER_H
12 #include <Messenger.h>
14 #include "DocumentSaver.h"
16 class MessengerSaver
: public DocumentSaver
{
18 MessengerSaver(const BMessenger
& messenger
);
19 virtual ~MessengerSaver();
21 virtual status_t
Save(Document
* document
);
24 BMessenger fMessenger
;
27 #endif // MESSENGER_SAVER_H