2 |
#ifndef _WXCPUTHROTTLE_H_ |
#ifndef _WXCPUTHROTTLE_H_ |
3 |
#define _WXCPUTHROTTLE_H_ |
#define _WXCPUTHROTTLE_H_ |
4 |
|
|
5 |
|
|
6 |
/** |
/** |
7 |
* @short Application Main Window |
* @short Application Main Window |
8 |
* @author Torben Nielsen <torben@t-hoerup.dk> |
* @author Torben Nielsen <torben@t-hoerup.dk> |
16 |
virtual bool OnInit(); |
virtual bool OnInit(); |
17 |
}; |
}; |
18 |
|
|
|
class |
|
|
wxCpuThrottleFrame : public wxFrame |
|
|
{ |
|
|
public: |
|
|
wxCpuThrottleFrame( const wxString& title, const wxPoint& pos, const wxSize& size ); |
|
|
void OnQuit( wxCommandEvent& event ); |
|
|
void OnAbout( wxCommandEvent& event ); |
|
19 |
|
|
|
private: |
|
|
DECLARE_EVENT_TABLE() |
|
|
}; |
|
20 |
|
|
21 |
enum |
|
|
{ |
|
|
Menu_File_Quit = 100, |
|
|
Menu_File_About |
|
|
}; |
|
22 |
|
|
23 |
#endif // _WXCPUTHROTTLE_H_ |
#endif // _WXCPUTHROTTLE_H_ |