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 APP_H 9 #define APP_H 10 11 #include <Application.h> 12 #include <FilePanel.h> 13 14 enum { 15 M_SHOW_OPEN_PANEL, 16 M_SHOW_SAVE_PANEL 17 }; 18 19 class App : public BApplication 20 { 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); 28 29 private: 30 BFilePanel *fOpenPanel; 31 }; 32 33 #endif 34