1/*
2 * Copyright (c) 2005-2010, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
4 *
5 * Author:
6 *		DarkWyrm <darkwyrm@gmail.com>
7 */
8#ifndef EDITOR_H
9#define EDITOR_H
10
11#include <Window.h>
12#include <Handler.h>
13
14class ResourceData;
15
16#define M_UPDATE_RESOURCE 'uprs'
17
18class Editor : public BWindow
19{
20public:
21						Editor(const BRect &frame, ResourceData *data,
22								BHandler *owner);
23	virtual				~Editor(void);
24
25	ResourceData *		GetData(void) const { return fResData; }
26	BHandler *			GetOwner(void) const { return fOwner; }
27private:
28	ResourceData		*fResData;
29	BHandler			*fOwner;
30};
31
32#endif
33