1 /* 2 * Copyright 2006-2007, 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 #ifndef SIMPLE_FILE_SAVER_H 9 #define SIMPLE_FILE_SAVER_H 10 11 #include "FileSaver.h" 12 13 class Exporter; 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 private: 24 Exporter* fExporter; 25 }; 26 27 #endif // SIMPLE_FILE_SAVER_H 28