repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / resedit / Editor.h
blob1c8a05230adce97e1f9f387f6f4b27e9863253ee
1 /*
2 * Copyright (c) 2005-2010, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
5 * Author:
6 * DarkWyrm <darkwyrm@gmail.com>
7 */
8 #ifndef EDITOR_H
9 #define EDITOR_H
11 #include <Window.h>
12 #include <Handler.h>
14 class ResourceData;
16 #define M_UPDATE_RESOURCE 'uprs'
18 class Editor : public BWindow
20 public:
21 Editor(const BRect &frame, ResourceData *data,
22 BHandler *owner);
23 virtual ~Editor(void);
25 ResourceData * GetData(void) const { return fResData; }
26 BHandler * GetOwner(void) const { return fOwner; }
27 private:
28 ResourceData *fResData;
29 BHandler *fOwner;
32 #endif