UI: fix clangd errors in headers

This commit is contained in:
oltolm 2025-12-02 00:26:16 +01:00
parent c4e4d63381
commit 086d631bc5
10 changed files with 41 additions and 6 deletions

View File

@ -2,6 +2,8 @@
#include <wx/wx.h>
class wxListCtrl;
class AudioDebuggerWindow : public wxFrame
{
public:
@ -25,4 +27,4 @@ private:
wxDECLARE_EVENT_TABLE();
};
};

View File

@ -3,7 +3,16 @@
#include <wx/propgrid/propgrid.h>
#include <Cafe/Account/Account.h>
class wxCheckBox;
class wxChoice;
class wxColourPickerCtrl;
class wxListBox;
class wxNotebook;
class wxRadioBox;
class wxSlider;
class wxSpinCtrl;
class wxSpinCtrlDouble;
class wxStaticText;
wxDECLARE_EVENT(wxEVT_ACCOUNTLIST_REFRESH, wxCommandEvent);

View File

@ -6,11 +6,19 @@
#include <future>
#include <wx/listctrl.h>
#include <wx/frame.h>
#include "Cafe/HW/MMU/MMU.h"
#include "util/helpers/helpers.h"
#include "wxgui/helpers/wxCustomEvents.h"
class wxComboBox;
class wxDataViewEvent;
class wxDataViewListCtrl;
class wxStaticText;
class wxTimer;
class wxTimerEvent;
enum SearchDataType
{
SearchDataType_None,

View File

@ -1,5 +1,7 @@
#pragma once
#include <wx/frame.h>
#define WM_CREATE_PAD (WM_USER+1)
#define WM_DESTROY_PAD (WM_USER+2)

View File

@ -1,6 +1,10 @@
#pragma once
#include <wx/frame.h>
class DebuggerWindow2;
class wxListEvent;
class wxListView;
class BreakpointWindow : public wxFrame
{
@ -21,4 +25,4 @@ private:
void OnContextMenuClickSelected(wxCommandEvent& evt);
wxListView* m_breakpoints;
};
};

View File

@ -1,6 +1,9 @@
#pragma once
#include <wx/frame.h>
class DebuggerWindow2;
class wxListView;
class ModuleWindow : public wxFrame
{
@ -14,4 +17,4 @@ private:
void OnLeftDClick(wxMouseEvent& event);
wxListView* m_modules;
};
};

View File

@ -1,7 +1,9 @@
#pragma once
#include "Cafe/HW/Espresso/Debugger/Debugger.h"
#include <wx/frame.h>
class DebuggerWindow2;
class wxTextCtrl;
class RegisterWindow : public wxFrame
{
@ -24,4 +26,4 @@ private:
wxColour m_changed_color = {0xFF0000FF};
wxTextCtrl* m_context_ctrl;
};
};

View File

@ -1,6 +1,7 @@
#pragma once
#include "wxgui/debugger/SymbolCtrl.h"
#include <wx/frame.h>
class DebuggerWindow2;
@ -19,4 +20,4 @@ private:
SymbolListCtrl* m_symbol_ctrl;
void OnFilterChanged(wxCommandEvent& event);
};
};

View File

@ -2,6 +2,8 @@
#include <wx/wx.h>
class wxListView;
class DebugPPCThreadsWindow: public wxFrame
{
public:

View File

@ -2,6 +2,8 @@
#include <wx/wx.h>
class wxListCtrl;
class TextureRelationViewerWindow : public wxFrame
{
public:
@ -28,4 +30,4 @@ private:
bool showTextureViews;
};
void openTextureViewer(wxFrame& parentFrame);
void openTextureViewer(wxFrame& parentFrame);