Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General: Remove unimplemented function prototypes #2977

Merged
merged 1 commit into from Sep 6, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions Source/Core/Common/IniFile.h
Expand Up @@ -140,8 +140,6 @@ class IniFile

const Section* GetSection(const std::string& section) const;
Section* GetSection(const std::string& section);
std::string* GetLine(const std::string& section, const std::string& key);
void CreateSection(const std::string& section);

static const std::string& NULL_STRING;
};
2 changes: 0 additions & 2 deletions Source/Core/Core/DSP/DSPEmitter.h
Expand Up @@ -33,7 +33,6 @@ class DSPEmitter : public Gen::X64CodeBlock
void CompileDispatcher();
Block CompileStub();
void Compile(u16 start_addr);
void ClearCallFlag();

bool FlagsNeeded();

Expand Down Expand Up @@ -62,7 +61,6 @@ class DSPEmitter : public Gen::X64CodeBlock
void dmem_write_imm(u16 addr, Gen::X64Reg value);

// Ext command helpers
void pushExtValueFromReg(u16 dreg, u16 sreg);
void popExtValueToReg();
void pushExtValueFromMem(u16 dreg, u16 sreg);
void pushExtValueFromMem2(u16 dreg, u16 sreg);
Expand Down
1 change: 0 additions & 1 deletion Source/Core/Core/FifoPlayer/FifoPlaybackAnalyzer.h
Expand Up @@ -34,7 +34,6 @@ class FifoPlaybackAnalyzer
void AddMemoryUpdate(MemoryUpdate memUpdate, AnalyzedFrameInfo &frameInfo);

u32 DecodeCommand(u8 *data);
void LoadBP(u32 value0);

void StoreEfbCopyRegion();
void StoreWrittenRegion(u32 address, u32 size);
Expand Down
3 changes: 0 additions & 3 deletions Source/Core/Core/HW/CPU.h
Expand Up @@ -30,9 +30,6 @@ class CCPU
// StepOpcode (Steps one Opcode)
static void StepOpcode(Common::Event *event = nullptr);

// one step only
static void SingleStep();

// Enable or Disable Stepping
static void EnableStepping(const bool _bStepping);

Expand Down
3 changes: 0 additions & 3 deletions Source/Core/Core/HW/WiimoteReal/WiimoteReal.h
Expand Up @@ -158,10 +158,7 @@ void ControlChannel(int _WiimoteNumber, u16 _channelID, const void* _pData, u32
void Update(int _WiimoteNumber);
void ConnectOnInput(int _WiimoteNumber);

void DoState(PointerWrap &p);
void StateChange(EMUSTATE_CHANGE newState);

int FindWiimotes(Wiimote** wm, int max_wiimotes);
void ChangeWiimoteSource(unsigned int index, int source);

bool IsValidBluetoothName(const std::string& name);
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.h
Expand Up @@ -144,8 +144,6 @@ class CWII_IPC_HLE_Device_es : public IWII_IPC_HLE_Device

static u8 *keyTable[11];

u64 GetCurrentTitleID() const;

const DiscIO::INANDContentLoader& AccessContentDevice(u64 _TitleID);
u32 OpenTitleContent(u32 CFD, u64 TitleID, u16 Index);

Expand Down
2 changes: 0 additions & 2 deletions Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h
Expand Up @@ -612,8 +612,6 @@ class CWII_IPC_HLE_Device_net_ip_top : public IWII_IPC_HLE_Device
#ifdef _WIN32
WSADATA InitData;
#endif
u32 ExecuteCommand(u32 _Parameter, u32 _BufferIn, u32 _BufferInSize, u32 _BufferOut, u32 _BufferOutSize);
u32 ExecuteCommandV(SIOCtlVBuffer& CommandBuffer);
};

// **********************************************************************************
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.h
Expand Up @@ -75,8 +75,6 @@ class CWII_IPC_HLE_Device_usb_oh1_57e_305 : public IWII_IPC_HLE_Device

void DoState(PointerWrap &p) override;

void NetPlay_WiimoteUpdate(int _number);

private:
enum USBIOCtl
{
Expand Down
4 changes: 0 additions & 4 deletions Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.h
Expand Up @@ -57,8 +57,6 @@ class CWII_IPC_HLE_WiiMote
void ExecuteL2capCmd(u8* _pData, u32 _Size); // From CPU
void ReceiveL2capData(u16 scid, const void* _pData, u32 _Size); // From Wiimote

int NetPlay_GetWiimoteNum(int _number);

void EventConnectionAccepted();
void EventDisconnect();
bool EventPagingChanged(u8 _pageMode);
Expand Down Expand Up @@ -143,6 +141,4 @@ class CWII_IPC_HLE_WiiMote
void SDPSendServiceAttributeResponse(u16 _SCID, u16 TransactionID, u32 _ServiceHandle,
u16 _StartAttrID, u16 _EndAttrID,
u16 _MaximumAttributeByteCount, u8* _pContinuationState);

u16 AddAttribToList(int _AttribID, u8* _pBuffer);
};
2 changes: 0 additions & 2 deletions Source/Core/Core/NetPlayClient.h
Expand Up @@ -135,8 +135,6 @@ class NetPlayClient : public TraversalClientClient
void Disconnect();
bool Connect();

void OnTraversalDisconnect(int fail);

PlayerId m_pid;
std::map<PlayerId, Player> m_players;
std::string m_host_spec;
Expand Down
4 changes: 0 additions & 4 deletions Source/Core/Core/PowerPC/Interpreter/Interpreter.h
Expand Up @@ -20,16 +20,13 @@ class Interpreter : public CPUCoreBase
public:
void Init() override;
void Shutdown() override;
void Reset();
void SingleStep() override;
int SingleStepInner();

void Run() override;
void ClearCache() override;
const char *GetName() override;

void Log();

static bool m_EndBlock;

static void unknown_instruction(UGeckoInstruction _inst);
Expand Down Expand Up @@ -269,7 +266,6 @@ class Interpreter : public CPUCoreBase
static void crxor(UGeckoInstruction _inst);
static void mcrf(UGeckoInstruction _inst);
static void rfi(UGeckoInstruction _inst);
static void rfid(UGeckoInstruction _inst);
static void sync(UGeckoInstruction _inst);
static void isync(UGeckoInstruction _inst);

Expand Down
4 changes: 0 additions & 4 deletions Source/Core/Core/PowerPC/JitILCommon/JitILBase.h
Expand Up @@ -94,13 +94,9 @@ class JitILBase : public Jitx86Base

void reg_imm(UGeckoInstruction inst);

void ps_sel(UGeckoInstruction inst);
void ps_mr(UGeckoInstruction inst);
void ps_sign(UGeckoInstruction inst); //aggregate
void ps_arith(UGeckoInstruction inst); //aggregate
void ps_mergeXX(UGeckoInstruction inst);
void ps_maddXX(UGeckoInstruction inst);
void ps_rsqrte(UGeckoInstruction inst);
void ps_sum(UGeckoInstruction inst);
void ps_muls(UGeckoInstruction inst);

Expand Down
1 change: 0 additions & 1 deletion Source/Core/Core/PowerPC/SignatureDB.h
Expand Up @@ -35,7 +35,6 @@ class SignatureDB

bool Load(const std::string& filename); // Does not clear. Remember to clear first if that's what you want.
bool Save(const std::string& filename);
void Clean(const char *prefix);
void Clear();
void List();

Expand Down
1 change: 0 additions & 1 deletion Source/Core/DiscIO/VolumeCreator.h
Expand Up @@ -16,7 +16,6 @@ class IBlobReader;

IVolume* CreateVolumeFromFilename(const std::string& _rFilename, u32 _PartitionGroup = 0, u32 _VolumeNum = -1);
IVolume* CreateVolumeFromDirectory(const std::string& _rDirectory, bool _bIsWii, const std::string& _rApploader = "", const std::string& _rDOL = "");
bool IsVolumeWiiDisc(const IVolume *_rVolume);
bool IsVolumeWadFile(const IVolume *_rVolume);
void VolumeKeyForPartition(IBlobReader& _rReader, u64 offset, u8* VolumeKey);

Expand Down
2 changes: 0 additions & 2 deletions Source/Core/DolphinWX/Debugger/CodeWindow.h
Expand Up @@ -62,11 +62,9 @@ class CCodeWindow : public wxPanel
void CreateMenu(const SConfig& _LocalCoreStartupParameter, wxMenuBar *pMenuBar);
void CreateMenuOptions(wxMenu *pMenu);
void CreateMenuSymbols(wxMenuBar *pMenuBar);
void RecreateToolbar(wxToolBar*);
void PopulateToolbar(wxToolBar* toolBar);
void UpdateButtonStates();
void OpenPages();
void UpdateManager();

// Menu bar
void ToggleCodeWindow(bool bShow);
Expand Down
1 change: 0 additions & 1 deletion Source/Core/DolphinWX/Debugger/DebuggerPanel.h
Expand Up @@ -74,5 +74,4 @@ class GFXDebuggerPanel : public wxPanel, public GFXDebuggerBase
void OnClearTextureCacheButton(wxCommandEvent& event);
void OnClearVertexShaderCacheButton(wxCommandEvent& event);
void OnClearPixelShaderCacheButton(wxCommandEvent& event);
void OnCountEnter(wxCommandEvent& event);
};
3 changes: 0 additions & 3 deletions Source/Core/DolphinWX/Debugger/JitWindow.h
Expand Up @@ -47,8 +47,5 @@ class CJitWindow : public wxPanel
wxTextCtrl* ppc_box;
wxTextCtrl* x86_box;

void OnSymbolListChange(wxCommandEvent& event);
void OnCallstackListChange(wxCommandEvent& event);
void OnAddrBoxChange(wxCommandEvent& event);
void OnHostMessage(wxCommandEvent& event);
};
1 change: 0 additions & 1 deletion Source/Core/DolphinWX/Debugger/MemoryWindow.h
Expand Up @@ -42,7 +42,6 @@ class CMemoryWindow : public wxPanel
void onAscii(wxCommandEvent& event);
void onHex(wxCommandEvent& event);
void OnSymbolListChange(wxCommandEvent& event);
void OnCallstackListChange(wxCommandEvent& event);
void OnAddrBoxChange(wxCommandEvent& event);
void OnHostMessage(wxCommandEvent& event);
void SetMemoryValueFromValBox(wxCommandEvent& event);
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/DolphinWX/Debugger/WatchWindow.h
Expand Up @@ -27,8 +27,6 @@ class CWatchWindow : public wxPanel
void LoadAll();

private:
void CreateGUIControls();

wxAuiManager m_mgr;

// Owned by wx. Deleted implicitly upon destruction.
Expand Down
1 change: 0 additions & 1 deletion Source/Core/DolphinWX/Frame.h
Expand Up @@ -300,7 +300,6 @@ class CFrame : public CRenderFrame
void OnToggleFullscreen(wxCommandEvent& event);
void OnToggleDualCore(wxCommandEvent& event);
void OnToggleSkipIdle(wxCommandEvent& event);
void OnToggleThrottle(wxCommandEvent& event);
void OnManagerResize(wxAuiManagerEvent& event);
void OnMove(wxMoveEvent& event);
void OnResize(wxSizeEvent& event);
Expand Down
1 change: 0 additions & 1 deletion Source/Core/DolphinWX/GameListCtrl.h
Expand Up @@ -96,7 +96,6 @@ class CGameListCtrl : public wxListCtrl
void OnCompressISO(wxCommandEvent& event);
void OnMultiCompressISO(wxCommandEvent& event);
void OnMultiDecompressISO(wxCommandEvent& event);
void OnInstallWAD(wxCommandEvent& event);
void OnChangeDisc(wxCommandEvent& event);

void CompressSelection(bool _compress);
Expand Down
5 changes: 0 additions & 5 deletions Source/Core/DolphinWX/TASInputDlg.h
Expand Up @@ -38,18 +38,13 @@ class TASInputDlg : public wxDialog
void GetValues(GCPadStatus* PadStatus);
void GetValues(u8* data, WiimoteEmu::ReportFeatures rptf, int ext, const wiimote_key key);
void SetTurbo(wxMouseEvent& event);
void SetTurboFalse(wxMouseEvent& event);
void SetTurboState(wxCheckBox* CheckBox, bool* turbo_on);
void ButtonTurbo();
void GetKeyBoardInput(GCPadStatus* PadStatus);
void GetKeyBoardInput(u8* data, WiimoteEmu::ReportFeatures rptf, int ext, const wiimote_key key);
bool TextBoxHasFocus();
void SetLandRTriggers();
void CreateGCLayout();
void CreateWiiLayout(int num);
wxBitmap CreateStickBitmap(int x, int y);
void SetWiiButtons(u16* butt);
void GetIRData(u8* const data, u8 mode, bool use_accel);
void HandleExtensionChange();

private:
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/InputCommon/ControllerInterface/Device.h
Expand Up @@ -61,8 +61,6 @@ class Device

virtual ControlState GetState() const = 0;

bool ShouldHaveInput();

ControlState GetGatedState()
{
if (InputGateOn())
Expand Down
5 changes: 0 additions & 5 deletions Source/Core/VideoBackends/Software/TransformUnit.h
Expand Up @@ -9,11 +9,6 @@ struct OutputVertexData;

namespace TransformUnit
{
void MultiplyVec2Mat24(const float *vec, const float *mat, float *result);
void MultiplyVec2Mat34(const float *vec, const float *mat, float *result);
void MultiplyVec3Mat33(const float *vec, const float *mat, float *result);
void MultiplyVec3Mat34(const float *vec, const float *mat, float *result);

void TransformPosition(const InputVertexData *src, OutputVertexData *dst);
void TransformNormal(const InputVertexData *src, bool nbt, OutputVertexData *dst);
void TransformColor(const InputVertexData *src, OutputVertexData *dst);
Expand Down
4 changes: 0 additions & 4 deletions Source/Core/VideoBackends/Software/VideoBackend.h
Expand Up @@ -42,10 +42,6 @@ class VideoSoftware : public VideoBackend
void Video_ClearMessages() override;
bool Video_Screenshot(const std::string& filename) override;

int Video_LoadTexture(char *imagedata, u32 width, u32 height);
void Video_DeleteTexture(int texID);
void Video_DrawTexture(int texID, float *coords);

void Video_SetRendering(bool bEnabled) override;

void Video_GatherPipeBursted() override;
Expand Down
1 change: 0 additions & 1 deletion Source/Core/VideoCommon/PixelShaderManager.h
Expand Up @@ -39,7 +39,6 @@ class PixelShaderManager
static void SetEfbScaleChanged();
static void SetZSlope(float dfdx, float dfdy, float f0);
static void SetIndMatrixChanged(int matrixidx);
static void SetTevKSelChanged(int id);
static void SetZTextureTypeChanged();
static void SetIndTexScaleChanged(bool high);
static void SetTexCoordChanged(u8 texmapid);
Expand Down
7 changes: 2 additions & 5 deletions Source/Core/VideoCommon/VertexLoader_Position.h
Expand Up @@ -6,12 +6,9 @@

#include "VideoCommon/NativeVertexFormat.h"

class VertexLoader_Position {
class VertexLoader_Position
{
public:

// Init
static void Init();

// GetSize
static unsigned int GetSize(u64 _type, unsigned int _format, unsigned int _elements);

Expand Down
4 changes: 0 additions & 4 deletions Source/Core/VideoCommon/VertexLoader_TextCoord.h
Expand Up @@ -9,10 +9,6 @@
class VertexLoader_TextCoord
{
public:

// Init
static void Init();

// GetSize
static unsigned int GetSize(u64 _type, unsigned int _format, unsigned int _elements);

Expand Down
1 change: 0 additions & 1 deletion Source/Core/VideoCommon/VideoBackendBase.h
Expand Up @@ -160,5 +160,4 @@ class VideoBackendHardware : public VideoBackend

protected:
void InitializeShared();
void InvalidState();
};