view include/main.h @ 23:a2dd16b70c08 v2.2dev

apply vivid-coloured image for selected item.
author pyon@macmini
date Tue, 01 Nov 2011 22:26:41 +0900
parents f3463815c2c9
children 5a934c8e1b95
line wrap: on
line source

// Filename   : main.h
// Last Change: 23-Oct-2011.
//
#include "wx/wx.h"
#include "wx/config.h"
#include "wx/fileconf.h"

#define MYAPPNAME wxT("AMover2")

#define VER 2
#define REV 2
#define BLD 20111027

// private classes
// Define a new application type, each program should derive a class from wxApp
class MyApp : public wxApp
{
    DECLARE_CLASS( MyApp )
public:
    MyApp();
    ~MyApp();

    virtual bool OnInit();
    virtual int  OnExit();
    void ConfInit();
    void InitLog();
    void WriteLog( wxString msg );

    wxFileConfig *config;
    wxString      conf_file;
    wxRect        rect;

    wxString      workdir;
    wxString      lmin;
    wxString      lmax;
    wxString      zmin;
    wxString      zmax;
};

DECLARE_APP(MyApp)