view include/main.h @ 40:ce5b61376fd0 v2.7 tip

complete dirview.
author pyon@macmini
date Fri, 25 Nov 2011 22:08:47 +0900
parents 044cc2f5af81
children
line wrap: on
line source

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

#define MYAPPNAME wxT("AMover2")

#define VER 2
#define REV 7
#define BLD 20111128

// 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;
    wxString      log_file;
    wxRect        rect;

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

DECLARE_APP(MyApp)