Mercurial > mercurial > hgweb_golang.cgi
comparison src/kaigo/horori/mover/include/main.h @ 45:20b42e2deae1
add alloc, (new)mover, merger & (new)searcher.
| author | pyon@macmini |
|---|---|
| date | Thu, 16 Apr 2020 20:59:35 +0900 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 44:b50f2a581cf8 | 45:20b42e2deae1 |
|---|---|
| 1 // Filename : main.h | |
| 2 // Last Change: 2020-03-12 –Ø 13:37:37. | |
| 3 // | |
| 4 #pragma once | |
| 5 | |
| 6 #include <wx/wx.h> | |
| 7 | |
| 8 // private classes | |
| 9 // Define a new application type, each program should derive a class from wxApp | |
| 10 class MyApp : public wxApp | |
| 11 { | |
| 12 DECLARE_CLASS(MyApp) | |
| 13 private: | |
| 14 | |
| 15 public: | |
| 16 MyApp(); | |
| 17 ~MyApp(); | |
| 18 | |
| 19 virtual bool OnInit(); | |
| 20 virtual int OnExit(); | |
| 21 }; | |
| 22 | |
| 23 DECLARE_APP(MyApp) | |
| 24 |
