3ecd55ed65
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23943 a95241bf-73f2-0310-859d-f6bbb57e9c96
38 lines
652 B
C++
38 lines
652 B
C++
/*
|
|
* Copyright (c) 2005-2006, Haiku, Inc.
|
|
* Distributed under the terms of the MIT license.
|
|
*
|
|
* Author:
|
|
* DarkWyrm <darkwyrm@earthlink.net>
|
|
*/
|
|
#ifndef APP_H
|
|
#define APP_H
|
|
|
|
#include <Application.h>
|
|
#include <FilePanel.h>
|
|
|
|
enum {
|
|
M_REGISTER_WINDOW = 'regw',
|
|
M_UNREGISTER_WINDOW,
|
|
M_SHOW_OPEN_PANEL,
|
|
M_SHOW_SAVE_PANEL
|
|
};
|
|
|
|
class App : public BApplication
|
|
{
|
|
public:
|
|
App(void);
|
|
~App(void);
|
|
void MessageReceived(BMessage *msg);
|
|
void ArgvReceived(int32 argc, char** argv);
|
|
void RefsReceived(BMessage *msg);
|
|
void ReadyToRun(void);
|
|
bool QuitRequested(void);
|
|
|
|
private:
|
|
uint32 fWindowCount;
|
|
BFilePanel *fOpenPanel, *fSavePanel;
|
|
};
|
|
|
|
#endif
|