view include/main.h @ 5:e3b10fb860b3

release v1.0.
author pyon@macmini
date Mon, 22 Oct 2018 22:17:02 +0900
parents 06342fc544e4
children 9a8b581c1993
line wrap: on
line source

// Filename   : main.h
// Last Change: 2018-10-19 ‹à 16:02:35.
//
#include <wx/wx.h>
#include <wx/config.h>
#include <wx/fileconf.h>
#include <wx/splash.h>
#include <wx/fs_zip.h>
#include <wx/filesys.h>
#include <wx/wfstream.h>

// private classes
// Define a new application type, each program should derive a class from wxApp
class MyApp : public wxApp
{
    DECLARE_CLASS( MyApp )
	private:
		wxFileConfig *config;
		wxString      conf_file;
		wxString	  m_server;
        bool          develop;

	public:
		wxRect rect;

		MyApp();
		~MyApp();

		virtual bool OnInit();
		virtual int  OnExit();

		void InitSetting();
		void SaveSetting();
};

DECLARE_APP( MyApp )