diff include/main.h @ 0:7bf900d47e9e

start mover2
author pyon@macmini
date Sat, 15 Oct 2011 13:24:27 +0900
parents
children 52697c869ce8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/main.h	Sat Oct 15 13:24:27 2011 +0900
@@ -0,0 +1,33 @@
+// Filename   : main.h
+// Last Change: 15-Oct-2011.
+//
+#include "wx/wx.h"
+#include "wx/config.h"
+#include "wx/fileconf.h"
+
+#include "symbol.h"
+// 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();
+
+    wxFileConfig *config;
+    wxString      conf_file;
+    wxRect        rect;
+    wxString      workdir;
+    wxString      lmin;
+    wxString      lmax;
+    wxString      bmin;
+    wxString      bmax;
+};
+
+DECLARE_APP(MyApp)
+