xref: /haiku/src/apps/icon-o-matic/document/savers/SimpleFileSaver.h (revision 1c09002cbee8e797a0f8bbfc5678dfadd39ee1a7)
1 /*
2  * Copyright 2006-2007, 2011, Stephan Aßmus <superstippi@gmx.de>.
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 #ifndef SIMPLE_FILE_SAVER_H
6 #define SIMPLE_FILE_SAVER_H
7 
8 
9 #include "FileSaver.h"
10 
11 
12 class Exporter;
13 
14 
15 class SimpleFileSaver : public FileSaver {
16 public:
17 								SimpleFileSaver(Exporter* exporter,
18 												const entry_ref& ref);
19 	virtual						~SimpleFileSaver();
20 
21 	virtual	status_t			Save(Document* document);
22 
23 			void				WaitForExportThread();
24 
25 private:
26 			Exporter*			fExporter;
27 };
28 
29 
30 #endif // SIMPLE_FILE_SAVER_H
31