1 |
torben |
19 |
|
2 |
|
|
#ifndef _WXCPUTHROTTLE_H_ |
3 |
|
|
#define _WXCPUTHROTTLE_H_ |
4 |
|
|
|
5 |
|
|
/** |
6 |
|
|
* @short Application Main Window |
7 |
|
|
* @author Torben Nielsen <torben@t-hoerup.dk> |
8 |
|
|
* @version 0.1 |
9 |
|
|
*/ |
10 |
|
|
|
11 |
|
|
class |
12 |
|
|
wxCpuThrottleapp : public wxApp |
13 |
|
|
{ |
14 |
|
|
public: |
15 |
|
|
virtual bool OnInit(); |
16 |
|
|
}; |
17 |
|
|
|
18 |
|
|
class |
19 |
|
|
wxCpuThrottleFrame : public wxFrame |
20 |
|
|
{ |
21 |
|
|
public: |
22 |
|
|
wxCpuThrottleFrame( const wxString& title, const wxPoint& pos, const wxSize& size ); |
23 |
|
|
void OnQuit( wxCommandEvent& event ); |
24 |
|
|
void OnAbout( wxCommandEvent& event ); |
25 |
|
|
|
26 |
|
|
private: |
27 |
|
|
DECLARE_EVENT_TABLE() |
28 |
|
|
}; |
29 |
|
|
|
30 |
|
|
enum |
31 |
|
|
{ |
32 |
|
|
Menu_File_Quit = 100, |
33 |
|
|
Menu_File_About |
34 |
|
|
}; |
35 |
|
|
|
36 |
|
|
#endif // _WXCPUTHROTTLE_H_ |