2010-05-07 04:47:10 -05:00
|
|
|
/*
|
2010-05-12 13:59:17 -05:00
|
|
|
* Copyright 2009-2010, Andrea Anzani. All rights reserved.
|
|
|
|
* Copyright 2009-2010, 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
|
|
|
|
|
|
|
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
|
|
|
|
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
|