2022-10-12 09:03:25 +02:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// Name: t7app.h
|
|
|
|
|
// Purpose:
|
2022-11-19 16:28:04 +01:00
|
|
|
// Author: Saleem Edah-Tally
|
2022-10-12 09:03:25 +02:00
|
|
|
// Modified by:
|
|
|
|
|
// Created: sam. 01 mars 2014 14:17:48 CET
|
|
|
|
|
// RCS-ID:
|
2022-11-19 16:28:04 +01:00
|
|
|
// Copyright: Copyright Saleem Edah-Tally (nmset@yandex.com) - © 2014.
|
2022-10-12 09:03:25 +02:00
|
|
|
// Licence: LGPL 2.1
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#ifndef _T7APP_H_
|
|
|
|
|
#define _T7APP_H_
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
* Includes
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
////@begin includes
|
|
|
|
|
#include "wx/image.h"
|
|
|
|
|
////@end includes
|
|
|
|
|
#include <wx/app.h>
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
* Forward declarations
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
////@begin forward declarations
|
|
|
|
|
////@end forward declarations
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
* Control identifiers
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
////@begin control identifiers
|
|
|
|
|
////@end control identifiers
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
* T7App class declaration
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
class T7App: public wxApp
|
|
|
|
|
{
|
|
|
|
|
DECLARE_CLASS( T7App )
|
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
/// Constructor
|
|
|
|
|
T7App();
|
|
|
|
|
|
|
|
|
|
void Init();
|
|
|
|
|
|
|
|
|
|
/// Initialises the application
|
|
|
|
|
virtual bool OnInit();
|
|
|
|
|
|
|
|
|
|
/// Called on exit
|
|
|
|
|
virtual int OnExit();
|
|
|
|
|
|
|
|
|
|
////@begin T7App event handler declarations
|
|
|
|
|
|
|
|
|
|
////@end T7App event handler declarations
|
|
|
|
|
|
|
|
|
|
////@begin T7App member function declarations
|
|
|
|
|
|
|
|
|
|
////@end T7App member function declarations
|
|
|
|
|
|
|
|
|
|
////@begin T7App member variables
|
|
|
|
|
////@end T7App member variables
|
2022-10-17 18:50:49 +02:00
|
|
|
private:
|
|
|
|
|
wxLocale m_locale;
|
2022-10-12 09:03:25 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
* Application instance declaration
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
////@begin declare app
|
|
|
|
|
DECLARE_APP(T7App)
|
|
|
|
|
////@end declare app
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
// _T7APP_H_
|