HaikuDepot: notify work status from main window
[haiku.git] / src / apps / icon-o-matic / document / savers / AttributeSaver.h
blob98a3bb2b2e903db0c908dd66980685705bb59f80
1 /*
2 * Copyright 2006, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Stephan Aßmus <superstippi@gmx.de>
7 */
9 #ifndef ATTRIBUTE_SAVER_H
10 #define ATTRIBUTE_SAVER_H
12 #include <Entry.h>
13 #include <String.h>
15 #include "DocumentSaver.h"
17 class AttributeSaver : public DocumentSaver {
18 public:
19 AttributeSaver(const entry_ref& ref,
20 const char* attrName);
21 virtual ~AttributeSaver();
23 virtual status_t Save(Document* document);
25 protected:
26 entry_ref fRef;
27 BString fAttrName;
30 #endif // ATTRIBUTE_SAVER_H