mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Get rid of C-style empty function parameter indicators
This commit is contained in:
@ -30,9 +30,9 @@ public:
|
||||
memset(m_CachedRegHasChanged, 0, sizeof(m_CachedRegHasChanged));
|
||||
}
|
||||
|
||||
int GetNumberCols(void) override {return 2;}
|
||||
int GetNumberRows(void) override {return 32;}
|
||||
bool IsEmptyCell(int row, int col) override {return false;}
|
||||
int GetNumberCols() override { return 2; }
|
||||
int GetNumberRows() override { return 32; }
|
||||
bool IsEmptyCell(int row, int col) override { return false; }
|
||||
wxString GetValue(int row, int col) override;
|
||||
void SetValue(int row, int col, const wxString &) override;
|
||||
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind) override;
|
||||
|
@ -45,11 +45,11 @@ public:
|
||||
memset(m_CachedSpecialRegHasChanged, 0, sizeof(m_CachedSpecialRegHasChanged));
|
||||
memset(m_CachedFRegHasChanged, 0, sizeof(m_CachedFRegHasChanged));
|
||||
}
|
||||
int GetNumberCols(void) override {return 5;}
|
||||
int GetNumberRows(void) override {return 32 + NUM_SPECIALS;}
|
||||
bool IsEmptyCell(int row, int col) override {return row > 31 && col > 2;}
|
||||
wxString GetValue(int row, int col) override;
|
||||
void SetValue(int row, int col, const wxString &) override;
|
||||
int GetNumberCols() override { return 5; }
|
||||
int GetNumberRows() override { return 32 + NUM_SPECIALS; }
|
||||
bool IsEmptyCell(int row, int col) override { return row > 31 && col > 2; }
|
||||
wxString GetValue(int row, int col) override;
|
||||
void SetValue(int row, int col, const wxString &) override;
|
||||
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind) override;
|
||||
void UpdateCachedRegs();
|
||||
|
||||
|
@ -19,7 +19,7 @@ private:
|
||||
public:
|
||||
void Initialize(Display *dpy);
|
||||
Window CreateXWindow(Window parent, XVisualInfo *vi);
|
||||
void DestroyXWindow(void);
|
||||
void DestroyXWindow();
|
||||
|
||||
Display *dpy;
|
||||
Window win;
|
||||
|
@ -62,7 +62,7 @@ void HotkeyConfigDialog::SaveButtonMapping(int Id, int Key, int Modkey)
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.iHotkeyModifier[Id] = Modkey;
|
||||
}
|
||||
|
||||
void HotkeyConfigDialog::EndGetButtons(void)
|
||||
void HotkeyConfigDialog::EndGetButtons()
|
||||
{
|
||||
wxTheApp->Unbind(wxEVT_KEY_DOWN, &HotkeyConfigDialog::OnKeyDown, this);
|
||||
m_ButtonMappingTimer->Stop();
|
||||
@ -194,7 +194,7 @@ void HotkeyConfigDialog::OnButtonClick(wxCommandEvent& event)
|
||||
|
||||
#define HOTKEY_NUM_COLUMNS 2
|
||||
|
||||
void HotkeyConfigDialog::CreateHotkeyGUIControls(void)
|
||||
void HotkeyConfigDialog::CreateHotkeyGUIControls()
|
||||
{
|
||||
const wxString pageNames[] =
|
||||
{
|
||||
|
@ -49,12 +49,12 @@ class HotkeyConfigDialog : public wxDialog
|
||||
void OnButtonClick(wxCommandEvent& event);
|
||||
void OnKeyDown(wxKeyEvent& event);
|
||||
void SaveButtonMapping(int Id, int Key, int Modkey);
|
||||
void CreateHotkeyGUIControls(void);
|
||||
void CreateHotkeyGUIControls();
|
||||
|
||||
void SetButtonText(int id, const wxString &keystr, const wxString &modkeystr = wxString());
|
||||
|
||||
void DoGetButtons(int id);
|
||||
void EndGetButtons(void);
|
||||
void EndGetButtons();
|
||||
|
||||
int GetButtonWaitingID, GetButtonWaitingTimer, g_Pressed, g_Modkey;
|
||||
};
|
||||
|
Reference in New Issue
Block a user