xref: /haiku/src/apps/icon-o-matic/document/savers/SimpleFileSaver.h (revision ba499cdc3336fb89429027418871bf263f1f5e14)
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 SIMPLE_FILE_SAVER_H
10 #define SIMPLE_FILE_SAVER_H
11 
12 #include "FileSaver.h"
13 
14 class Exporter;
15 
16 class SimpleFileSaver : public FileSaver {
17  public:
18 								SimpleFileSaver(Exporter* exporter,
19 												const entry_ref& ref);
20 	virtual						~SimpleFileSaver();
21 
22 	virtual	status_t			Save(Document* document);
23 
24  private:
25 			Exporter*			fExporter;
26 };
27 
28 #endif // SIMPLE_FILE_SAVER_H
29