mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 03:22:30 +02:00
09b5dfbd53
autoconfiguration tests. Some versions of gcc care enough about ANSI C to complain about this. Use the Linux install hierarchy conventions on other Unices as well. XKeysymToString returns NULL on unknown keysyms, which is not a valid std::string initializer. There appears to be some disagreement regarding the second parameter to iconv(). Some versions/installations have it as const, others don't. Unfortunately, due to wonderful C++ brain damage, implicit conversion from const to non-const doesn't work here. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5945 8ced0084-cf51-0410-be5f-012b33b47a6e
46 lines
714 B
C++
46 lines
714 B
C++
|
|
#ifndef __GECKOCODEDIAG_h__
|
|
#define __GECKOCODEDIAG_h__
|
|
|
|
#include "GeckoCode.h"
|
|
#include "GeckoCodeConfig.h"
|
|
|
|
#include "wx/wx.h"
|
|
|
|
namespace Gecko
|
|
{
|
|
|
|
|
|
class CodeConfigPanel : public wxPanel
|
|
{
|
|
public:
|
|
CodeConfigPanel(wxWindow* const parent);
|
|
|
|
|
|
void LoadCodes(const IniFile& inifile);
|
|
const std::vector<GeckoCode>& GetCodes() const { return m_gcodes; }
|
|
|
|
protected:
|
|
void UpdateInfoBox(wxCommandEvent&);
|
|
void ToggleCode(wxCommandEvent& evt);
|
|
void ApplyChanges(wxCommandEvent&);
|
|
|
|
private:
|
|
std::vector<GeckoCode> m_gcodes;
|
|
|
|
// wxwidgets stuff
|
|
wxCheckListBox *m_listbox_gcodes;
|
|
struct
|
|
{
|
|
wxStaticText *label_name, *label_description, *label_creator;
|
|
wxListBox *listbox_codes;
|
|
} m_infobox;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif
|