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 FILE_SAVER_H
10#define FILE_SAVER_H
11
12#include <Entry.h>
13
14#include "DocumentSaver.h"
15
16class FileSaver : public DocumentSaver {
17 public:
18								FileSaver(const entry_ref& ref);
19	virtual						~FileSaver();
20
21			void				SetRef(const entry_ref& ref);
22			const entry_ref*	Ref() const
23									{ return &fRef; }
24
25 protected:
26			entry_ref			fRef;
27};
28
29#endif // FILE_SAVER_H
30