#ifndef WIIMOTE_CONFIG_DIAG_H #define WIIMOTE_CONFIG_DIAG_H #include #include #include #include #include #include #include #include #include #include #include "InputConfigDiag.h" class WiimoteConfigPage : public wxNotebookPage { public: WiimoteConfigPage(wxWindow* const parent, const int index); void SelectSource(wxCommandEvent& event); void UpdateWiimoteStatus(); void RevertSource(); wxStaticText* connected_wiimotes_txt; private: const int m_index; unsigned int orig_source; }; class WiimoteConfigDiag : public wxDialog { public: WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin); #ifdef _WIN32 void PairUpRealWiimotes(wxCommandEvent& event); #endif void RefreshRealWiimotes(wxCommandEvent& event); void ConfigEmulatedWiimote(wxCommandEvent& event); void Save(wxCommandEvent& event); void UpdateGUI(); private: void OnClose(wxCloseEvent& event); InputPlugin& m_plugin; wxNotebook* m_pad_notebook; bool m_save; }; #endif