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 ATTRIBUTE_SAVER_H
10#define ATTRIBUTE_SAVER_H
11
12#include <Entry.h>
13#include <String.h>
14
15#include "DocumentSaver.h"
16
17class AttributeSaver : public DocumentSaver {
18 public:
19								AttributeSaver(const entry_ref& ref,
20											   const char* attrName);
21	virtual						~AttributeSaver();
22
23	virtual	status_t			Save(Document* document);
24
25 protected:
26			entry_ref			fRef;
27			BString				fAttrName;
28};
29
30#endif // ATTRIBUTE_SAVER_H
31