--- wxCpuThrottle/src/wxcputhrottleframe.h 2007/08/09 17:24:40 23 +++ wxCpuThrottle/src/wxcputhrottleframe.h 2007/08/10 18:12:36 25 @@ -23,20 +23,31 @@ #include #include "trayicon.h" +#include "acpiparser.h" class wxCpuThrottleFrame : public wxDialog { public: - wxCpuThrottleFrame( const wxString& title, const wxPoint& pos, const wxSize& size ); - void OnQuit( wxCommandEvent& event ); + wxCpuThrottleFrame(); + void OnQuit( /*wxCommandEvent& event*/ ); void OnAbout( wxCommandEvent& event ); void OnClose( wxCloseEvent& event ); + void OnTimer( wxTimerEvent& event ); + void OnRadiobutton(wxCommandEvent& event); void SetPosition(); + bool GetWritable() {return mWritable;} + AcpiParser* GetParser() { return &mParser; } + private: wxIcon mIcon; TrayIcon* mTrayIcon; + AcpiParser mParser; + bool mWritable; + wxRadioBox* mButtonbox; + wxTimer mTimer; + DECLARE_EVENT_TABLE() }; -#endif \ No newline at end of file +#endif