haiku/src/apps/resedit/App.h
François Revol 3ecd55ed65 Handle command line args. It still opens an empty window though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-10 22:29:42 +00:00

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