2010-05-07 04:47:10 -05:00
|
|
|
/*
|
2011-12-03 16:38:03 -06:00
|
|
|
* Copyright 2009-2011, Andrea Anzani. All rights reserved.
|
|
|
|
* Copyright 2009-2011, Pier Luigi Fiorini. All rights reserved.
|
2010-05-07 04:47:10 -05:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _THE_APP_H
|
|
|
|
#define _THE_APP_H
|
|
|
|
|
|
|
|
#include <Application.h>
|
|
|
|
|
2010-05-16 16:02:50 -05:00
|
|
|
class MainWindow;
|
2010-05-07 04:47:10 -05:00
|
|
|
|
2021-06-23 14:15:22 -05:00
|
|
|
|
|
|
|
int main(int argc, char* argv[]);
|
|
|
|
|
|
|
|
|
2010-05-07 04:47:10 -05:00
|
|
|
class TheApp : public BApplication {
|
|
|
|
public:
|
2010-05-12 13:59:17 -05:00
|
|
|
TheApp();
|
2010-05-07 04:47:10 -05:00
|
|
|
|
2010-05-12 13:59:17 -05:00
|
|
|
virtual void ReadyToRun();
|
|
|
|
virtual void AboutRequested();
|
2010-05-07 04:47:10 -05:00
|
|
|
|
2011-12-14 17:36:27 -06:00
|
|
|
virtual void MessageReceived(BMessage* message);
|
|
|
|
|
2010-05-12 13:59:17 -05:00
|
|
|
MainWindow* GetMainWindow() const;
|
2010-05-07 04:47:10 -05:00
|
|
|
|
|
|
|
private:
|
2010-05-12 13:59:17 -05:00
|
|
|
MainWindow* fMainWin;
|
2010-05-07 04:47:10 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _THE_APP_H
|