Make DolphinWX/ mostly IWYU clean.

This commit is contained in:
Pierre Bourdon
2014-02-22 23:36:30 +01:00
parent c698c07755
commit f344a43657
92 changed files with 1511 additions and 344 deletions

View File

@ -4,44 +4,52 @@
#pragma once
#include <cstddef>
#include <mutex>
#include <string>
#include <vector>
#include <wx/artprov.h>
#include <wx/busyinfo.h>
#include <wx/listctrl.h>
#include <wx/bitmap.h>
#include <wx/chartype.h>
#include <wx/defs.h>
#include <wx/event.h>
#include <wx/frame.h>
#include <wx/gdicmn.h>
#include <wx/image.h>
#include <wx/mstream.h>
#include <wx/tooltip.h>
#include <wx/wx.h>
#include <wx/aui/aui.h>
#include <wx/panel.h>
#include <wx/string.h>
#include <wx/toplevel.h>
#include <wx/windowid.h>
#include "Common/CDUtils.h"
#include "Core/Movie.h"
#include "Common/CommonTypes.h"
#include "Common/Thread.h"
#include "DolphinWX/Globals.h"
#include "DolphinWX/LogConfigWindow.h"
#include "DolphinWX/LogWindow.h"
#include "DolphinWX/TASInputDlg.h"
#include "DolphinWX/Debugger/CodeWindow.h"
#include "InputCommon/GCPadStatus.h"
#if defined(HAVE_X11) && HAVE_X11
#include "DolphinWX/X11Utils.h"
#endif
// A shortcut to access the bitmaps
#define wxGetBitmapFromMemory(name) _wxGetBitmapFromMemory(name, sizeof(name))
static inline wxBitmap _wxGetBitmapFromMemory(const unsigned char* data, int length)
{
wxMemoryInputStream is(data, length);
return(wxBitmap(wxImage(is, wxBITMAP_TYPE_ANY, -1), -1));
}
// Class declarations
class CGameListCtrl;
class GameListItem;
class CCodeWindow;
class CLogWindow;
class FifoPlayerDlg;
class LogConfigWindow;
class NetPlaySetupDiag;
class TASInputDlg;
class wxCheatsWindow;
class wxAuiManager;
class wxAuiManagerEvent;
class wxAuiNotebook;
class wxAuiNotebookEvent;
class wxAuiToolBar;
class wxAuiToolBarEvent;
class wxListEvent;
class wxMenuItem;
class wxWindow;
// The CPanel class to receive MSWWindowProc messages from the video backend.
class CPanel : public wxPanel
{