--- wxCpuThrottle/src/wxcputhrottleframe.h 2007/08/09 17:14:40 21 +++ wxCpuThrottle/src/wxcputhrottleframe.h 2007/08/10 18:12:36 25 @@ -18,20 +18,36 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ +#ifndef WXCPUTHROTTLEFRAME_H +#define WXCPUTHROTTLEFRAME_H + #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