vfs: check userland buffers before reading them.
[haiku.git] / src / apps / resedit / App.h
blobe6f4ade2a6db9cf229a5e2111fab5cbe794d655b
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 APP_H
9 #define APP_H
11 #include <Application.h>
12 #include <FilePanel.h>
14 enum {
15 M_SHOW_OPEN_PANEL,
16 M_SHOW_SAVE_PANEL
19 class App : public BApplication
21 public:
22 App(void);
23 ~App(void);
24 void MessageReceived(BMessage *msg);
25 void ArgvReceived(int32 argc, char** argv);
26 void RefsReceived(BMessage *msg);
27 void ReadyToRun(void);
29 private:
30 BFilePanel *fOpenPanel;
33 #endif