xref: /haiku/src/apps/icon-o-matic/document/savers/DocumentSaver.h (revision 445d4fd926c569e7b9ae28017da86280aaecbae2)
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 DOCUMENT_SAVER_H
10 #define DOCUMENT_SAVER_H
11 
12 #include <SupportDefs.h>
13 
14 class Document;
15 
16 /*! Interface for all the other savers to implement */
17 class DocumentSaver {
18  public:
19 								DocumentSaver();
20 	virtual						~DocumentSaver();
21 
22 	virtual	status_t			Save(Document* document) = 0;
23 };
24 
25 #endif // DOCUMENT_SAVER_H
26