Merge pull request #1516 from lioncash/fwd

DolphinWX: Remove unnecessary forward declarations
This commit is contained in:
Lioncash 2014-11-08 16:44:54 -05:00
commit 2a79d2343d
19 changed files with 0 additions and 38 deletions

View File

@ -29,8 +29,6 @@
#include "DolphinWX/ISOProperties.h" #include "DolphinWX/ISOProperties.h"
#include "DolphinWX/WxUtils.h" #include "DolphinWX/WxUtils.h"
class wxWindow;
BEGIN_EVENT_TABLE(CARCodeAddEdit, wxDialog) BEGIN_EVENT_TABLE(CARCodeAddEdit, wxDialog)
EVT_BUTTON(wxID_OK, CARCodeAddEdit::SaveCheatData) EVT_BUTTON(wxID_OK, CARCodeAddEdit::SaveCheatData)
EVT_SPIN(ID_ENTRY_SELECT, CARCodeAddEdit::ChangeEntry) EVT_SPIN(ID_ENTRY_SELECT, CARCodeAddEdit::ChangeEntry)

View File

@ -19,8 +19,6 @@
#include "DolphinWX/AboutDolphin.h" #include "DolphinWX/AboutDolphin.h"
#include "DolphinWX/resources/dolphin_logo.cpp" #include "DolphinWX/resources/dolphin_logo.cpp"
class wxWindow;
AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id, AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id,
const wxString &title, const wxPoint &position, const wxString &title, const wxPoint &position,
const wxSize& size, long style) const wxSize& size, long style)

View File

@ -30,8 +30,6 @@
#include "DolphinWX/WxUtils.h" #include "DolphinWX/WxUtils.h"
#include "DolphinWX/Cheats/GeckoCodeDiag.h" #include "DolphinWX/Cheats/GeckoCodeDiag.h"
class IniFile;
namespace Gecko namespace Gecko
{ {

View File

@ -22,9 +22,6 @@
#include "DolphinWX/Debugger/BreakpointView.h" #include "DolphinWX/Debugger/BreakpointView.h"
#include "DolphinWX/Debugger/DebuggerUIUtil.h" #include "DolphinWX/Debugger/DebuggerUIUtil.h"
class wxWindow;
struct Symbol;
CBreakPointView::CBreakPointView(wxWindow* parent, const wxWindowID id) CBreakPointView::CBreakPointView(wxWindow* parent, const wxWindowID id)
: wxListCtrl(parent, id, wxDefaultPosition, wxDefaultSize, : wxListCtrl(parent, id, wxDefaultPosition, wxDefaultSize,
wxLC_REPORT | wxSUNKEN_BORDER | wxLC_ALIGN_LEFT | wxLC_SINGLE_SEL | wxLC_SORT_ASCENDING) wxLC_REPORT | wxSUNKEN_BORDER | wxLC_ALIGN_LEFT | wxLC_SINGLE_SEL | wxLC_SORT_ASCENDING)

View File

@ -35,8 +35,6 @@ extern "C" {
#include "DolphinWX/resources/toolbar_debugger_delete.c" #include "DolphinWX/resources/toolbar_debugger_delete.c"
} }
class wxWindow;
class CBreakPointBar : public wxAuiToolBar class CBreakPointBar : public wxAuiToolBar
{ {
public: public:

View File

@ -16,7 +16,6 @@
#include "DolphinWX/WxUtils.h" #include "DolphinWX/WxUtils.h"
#include "DolphinWX/Debugger/DSPRegisterView.h" #include "DolphinWX/Debugger/DSPRegisterView.h"
class wxWindow;
wxString CDSPRegTable::GetValue(int row, int col) wxString CDSPRegTable::GetValue(int row, int col)
{ {

View File

@ -28,8 +28,6 @@
#include "VideoCommon/Debugger.h" #include "VideoCommon/Debugger.h"
#include "VideoCommon/TextureCacheBase.h" #include "VideoCommon/TextureCacheBase.h"
class wxWindow;
BEGIN_EVENT_TABLE(GFXDebuggerPanel, wxPanel) BEGIN_EVENT_TABLE(GFXDebuggerPanel, wxPanel)
EVT_CLOSE(GFXDebuggerPanel::OnClose) EVT_CLOSE(GFXDebuggerPanel::OnClose)
EVT_BUTTON(ID_PAUSE,GFXDebuggerPanel::OnPauseButton) EVT_BUTTON(ID_PAUSE,GFXDebuggerPanel::OnPauseButton)

View File

@ -40,8 +40,6 @@
#include "DolphinWX/Debugger/MemoryView.h" #include "DolphinWX/Debugger/MemoryView.h"
#include "DolphinWX/Debugger/MemoryWindow.h" #include "DolphinWX/Debugger/MemoryWindow.h"
class DebugInterface;
enum enum
{ {
IDM_MEM_ADDRBOX, IDM_MEM_ADDRBOX,

View File

@ -25,8 +25,6 @@
#include "DolphinWX/Debugger/RegisterView.h" #include "DolphinWX/Debugger/RegisterView.h"
#include "DolphinWX/Debugger/WatchWindow.h" #include "DolphinWX/Debugger/WatchWindow.h"
class wxWindow;
// F-zero 80005e60 wtf?? // F-zero 80005e60 wtf??
enum enum

View File

@ -23,8 +23,6 @@
#include "DolphinWX/Debugger/WatchView.h" #include "DolphinWX/Debugger/WatchView.h"
#include "DolphinWX/Debugger/WatchWindow.h" #include "DolphinWX/Debugger/WatchWindow.h"
class wxWindow;
enum enum
{ {
IDM_DELETEWATCH, IDM_DELETEWATCH,

View File

@ -43,8 +43,6 @@
#include "VideoCommon/BPMemory.h" #include "VideoCommon/BPMemory.h"
#include "VideoCommon/OpcodeDecoding.h" #include "VideoCommon/OpcodeDecoding.h"
class wxWindow;
wxDEFINE_EVENT(RECORDING_FINISHED_EVENT, wxCommandEvent); wxDEFINE_EVENT(RECORDING_FINISHED_EVENT, wxCommandEvent);
wxDEFINE_EVENT(FRAME_WRITTEN_EVENT, wxCommandEvent); wxDEFINE_EVENT(FRAME_WRITTEN_EVENT, wxCommandEvent);

View File

@ -27,8 +27,6 @@
#include "DolphinWX/HotkeyDlg.h" #include "DolphinWX/HotkeyDlg.h"
#include "DolphinWX/WXInputBase.h" #include "DolphinWX/WXInputBase.h"
class wxWindow;
BEGIN_EVENT_TABLE(HotkeyConfigDialog,wxDialog) BEGIN_EVENT_TABLE(HotkeyConfigDialog,wxDialog)
EVT_COMMAND_RANGE(0, NUM_HOTKEYS - 1, wxEVT_BUTTON, HotkeyConfigDialog::OnButtonClick) EVT_COMMAND_RANGE(0, NUM_HOTKEYS - 1, wxEVT_BUTTON, HotkeyConfigDialog::OnButtonClick)
EVT_TIMER(wxID_ANY, HotkeyConfigDialog::OnButtonTimer) EVT_TIMER(wxID_ANY, HotkeyConfigDialog::OnButtonTimer)

View File

@ -78,8 +78,6 @@
#include "DolphinWX/resources/isoprop_file.xpm" #include "DolphinWX/resources/isoprop_file.xpm"
#include "DolphinWX/resources/isoprop_folder.xpm" #include "DolphinWX/resources/isoprop_folder.xpm"
class wxWindow;
struct WiiPartition struct WiiPartition
{ {
DiscIO::IVolume *Partition; DiscIO::IVolume *Partition;

View File

@ -53,8 +53,6 @@
#include "InputCommon/ControllerInterface/Device.h" #include "InputCommon/ControllerInterface/Device.h"
#include "InputCommon/ControllerInterface/ExpressionParser.h" #include "InputCommon/ControllerInterface/ExpressionParser.h"
class wxWindow;
using namespace ciface::ExpressionParser; using namespace ciface::ExpressionParser;
void GamepadPage::ConfigExtension(wxCommandEvent& event) void GamepadPage::ConfigExtension(wxCommandEvent& event)

View File

@ -27,8 +27,6 @@
#include "InputCommon/ControllerInterface/ControllerInterface.h" #include "InputCommon/ControllerInterface/ControllerInterface.h"
#include "InputCommon/ControllerInterface/Device.h" #include "InputCommon/ControllerInterface/Device.h"
class wxTimerEvent;
static void DrawCenteredRectangle(wxDC &dc, int x, int y, int w, int h) static void DrawCenteredRectangle(wxDC &dc, int x, int y, int w, int h)
{ {
x -= w / 2; x -= w / 2;

View File

@ -27,8 +27,6 @@
#include "DolphinWX/LogWindow.h" #include "DolphinWX/LogWindow.h"
#include "DolphinWX/WxUtils.h" #include "DolphinWX/WxUtils.h"
class wxWindow;
LogConfigWindow::LogConfigWindow(wxWindow* parent, CLogWindow *log_window, wxWindowID id) LogConfigWindow::LogConfigWindow(wxWindow* parent, CLogWindow *log_window, wxWindowID id)
: wxPanel(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _("Log Configuration")) : wxPanel(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _("Log Configuration"))
, m_LogWindow(log_window), enableAll(true) , m_LogWindow(log_window), enableAll(true)

View File

@ -47,8 +47,6 @@
#include "DolphinWX/NetWindow.h" #include "DolphinWX/NetWindow.h"
#include "DolphinWX/WxUtils.h" #include "DolphinWX/WxUtils.h"
class wxWindow;
#define NETPLAY_TITLEBAR "Dolphin NetPlay" #define NETPLAY_TITLEBAR "Dolphin NetPlay"
#define INITIAL_PAD_BUFFER_SIZE 5 #define INITIAL_PAD_BUFFER_SIZE 5

View File

@ -28,8 +28,6 @@
#include "DolphinWX/PatchAddEdit.h" #include "DolphinWX/PatchAddEdit.h"
#include "DolphinWX/WxUtils.h" #include "DolphinWX/WxUtils.h"
class wxWindow;
BEGIN_EVENT_TABLE(CPatchAddEdit, wxDialog) BEGIN_EVENT_TABLE(CPatchAddEdit, wxDialog)
EVT_BUTTON(wxID_OK, CPatchAddEdit::SavePatchData) EVT_BUTTON(wxID_OK, CPatchAddEdit::SavePatchData)
EVT_BUTTON(ID_ENTRY_ADD, CPatchAddEdit::AddRemoveEntry) EVT_BUTTON(ID_ENTRY_ADD, CPatchAddEdit::AddRemoveEntry)

View File

@ -28,8 +28,6 @@
#include "DolphinWX/InputConfigDiag.h" #include "DolphinWX/InputConfigDiag.h"
#include "DolphinWX/WiimoteConfigDiag.h" #include "DolphinWX/WiimoteConfigDiag.h"
class InputConfig;
WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputConfig& config) WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputConfig& config)
: wxDialog(parent, -1, _("Dolphin Wiimote Configuration")) : wxDialog(parent, -1, _("Dolphin Wiimote Configuration"))
, m_config(config) , m_config(config)