1 /* 2 * Copyright 2007, 2011, Stephan Aßmus <superstippi@gmx.de>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5 #ifndef NATIVE_SAVER_H 6 #define NATIVE_SAVER_H 7 8 9 #include "AttributeSaver.h" 10 #include "SimpleFileSaver.h" 11 12 /*! Exports to the native Icon-O-Matic format */ 13 class NativeSaver : public SimpleFileSaver { 14 public: 15 NativeSaver(const entry_ref& ref); 16 virtual ~NativeSaver(); 17 18 virtual status_t Save(Document* document); 19 20 protected: 21 AttributeSaver fAttrSaver; 22 }; 23 24 25 #endif // NATIVE_SAVER_H 26