mirror of https://github.com/PCSX2/pcsx2.git
core: use = default for trivial destructor
Again not reported by clang-tidy and done with sed
This commit is contained in:
parent
2ff43f2ed8
commit
47264dc350
|
@ -20,5 +20,5 @@ class SectorSource
|
||||||
public:
|
public:
|
||||||
virtual int getNumSectors()=0;
|
virtual int getNumSectors()=0;
|
||||||
virtual bool readSector(unsigned char* buffer, int lba)=0;
|
virtual bool readSector(unsigned char* buffer, int lba)=0;
|
||||||
virtual ~SectorSource() throw() {}
|
virtual ~SectorSource() = default;
|
||||||
};
|
};
|
||||||
|
|
|
@ -142,7 +142,7 @@ class ElfObject
|
||||||
|
|
||||||
// Destructor!
|
// Destructor!
|
||||||
// C++ does all the cleanup automagically for us.
|
// C++ does all the cleanup automagically for us.
|
||||||
virtual ~ElfObject() throw() { }
|
virtual ~ElfObject() = default;
|
||||||
|
|
||||||
ElfObject(const wxString& srcfile, IsoFile& isofile);
|
ElfObject(const wxString& srcfile, IsoFile& isofile);
|
||||||
ElfObject( const wxString& srcfile, uint hdrsize );
|
ElfObject( const wxString& srcfile, uint hdrsize );
|
||||||
|
|
|
@ -178,7 +178,7 @@ struct Game_Data
|
||||||
class IGameDatabase
|
class IGameDatabase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~IGameDatabase() throw() {}
|
virtual ~IGameDatabase() = default;
|
||||||
|
|
||||||
virtual wxString getBaseKey() const=0;
|
virtual wxString getBaseKey() const=0;
|
||||||
virtual bool findGame(Game_Data& dest, const wxString& id)=0;
|
virtual bool findGame(Game_Data& dest, const wxString& id)=0;
|
||||||
|
|
|
@ -232,7 +232,7 @@ protected:
|
||||||
static const int MemoryBaseAllocSize = _8mb; // 8 meg base alloc when PS2 main memory is excluded
|
static const int MemoryBaseAllocSize = _8mb; // 8 meg base alloc when PS2 main memory is excluded
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~memSavingState() throw() { }
|
virtual ~memSavingState() = default;
|
||||||
memSavingState( VmStateBuffer& save_to );
|
memSavingState( VmStateBuffer& save_to );
|
||||||
memSavingState( VmStateBuffer* save_to );
|
memSavingState( VmStateBuffer* save_to );
|
||||||
|
|
||||||
|
|
|
@ -234,7 +234,7 @@ public:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
IEventListener_SysState() {}
|
IEventListener_SysState() {}
|
||||||
virtual ~IEventListener_SysState() throw() {}
|
virtual ~IEventListener_SysState() = default;
|
||||||
|
|
||||||
virtual void DispatchEvent( const SysStateUnlockedParams& status )
|
virtual void DispatchEvent( const SysStateUnlockedParams& status )
|
||||||
{
|
{
|
||||||
|
|
|
@ -126,7 +126,7 @@ public:
|
||||||
m_Idx = 0;
|
m_Idx = 0;
|
||||||
m_lastEEcycles = 0;
|
m_lastEEcycles = 0;
|
||||||
}
|
}
|
||||||
virtual ~BaseVUmicroCPU() throw() {}
|
virtual ~BaseVUmicroCPU() = default;
|
||||||
|
|
||||||
// Called by the PS2 VM's event manager for every internal vertical sync (occurs at either
|
// Called by the PS2 VM's event manager for every internal vertical sync (occurs at either
|
||||||
// 50hz (pal) or 59.94hz (NTSC).
|
// 50hz (pal) or 59.94hz (NTSC).
|
||||||
|
|
|
@ -39,7 +39,7 @@ public:
|
||||||
m_datasize = 0;
|
m_datasize = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~ArchiveEntry() throw() {}
|
virtual ~ArchiveEntry() = default;
|
||||||
|
|
||||||
ArchiveEntry& SetDataIndex( uptr idx )
|
ArchiveEntry& SetDataIndex( uptr idx )
|
||||||
{
|
{
|
||||||
|
@ -83,7 +83,7 @@ protected:
|
||||||
std::unique_ptr<ArchiveDataBuffer> m_data;
|
std::unique_ptr<ArchiveDataBuffer> m_data;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~ArchiveEntryList() throw() {}
|
virtual ~ArchiveEntryList() = default;
|
||||||
|
|
||||||
ArchiveEntryList() {}
|
ArchiveEntryList() {}
|
||||||
|
|
||||||
|
|
|
@ -260,7 +260,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FramerateManager() { Reset(); }
|
FramerateManager() { Reset(); }
|
||||||
virtual ~FramerateManager() throw() {}
|
virtual ~FramerateManager() = default;
|
||||||
|
|
||||||
void Reset();
|
void Reset();
|
||||||
void Resume();
|
void Resume();
|
||||||
|
|
|
@ -49,7 +49,7 @@ protected:
|
||||||
Threading::Mutex* m_mtx_resume;
|
Threading::Mutex* m_mtx_resume;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~BaseSysExecEvent_ScopedCore() throw() {}
|
virtual ~BaseSysExecEvent_ScopedCore() = default;
|
||||||
|
|
||||||
BaseSysExecEvent_ScopedCore& SetResumeStates( SynchronousActionState* sync, Threading::Mutex* mutex )
|
BaseSysExecEvent_ScopedCore& SetResumeStates( SynchronousActionState* sync, Threading::Mutex* mutex )
|
||||||
{
|
{
|
||||||
|
@ -87,7 +87,7 @@ class SysExecEvent_CoreThreadClose : public BaseSysExecEvent_ScopedCore
|
||||||
public:
|
public:
|
||||||
wxString GetEventName() const { return L"CloseCoreThread"; }
|
wxString GetEventName() const { return L"CloseCoreThread"; }
|
||||||
|
|
||||||
virtual ~SysExecEvent_CoreThreadClose() throw() {}
|
virtual ~SysExecEvent_CoreThreadClose() = default;
|
||||||
SysExecEvent_CoreThreadClose* Clone() const { return new SysExecEvent_CoreThreadClose( *this ); }
|
SysExecEvent_CoreThreadClose* Clone() const { return new SysExecEvent_CoreThreadClose( *this ); }
|
||||||
|
|
||||||
SysExecEvent_CoreThreadClose( SynchronousActionState* sync=NULL, SynchronousActionState* resume_sync=NULL, Threading::Mutex* mtx_resume=NULL )
|
SysExecEvent_CoreThreadClose( SynchronousActionState* sync=NULL, SynchronousActionState* resume_sync=NULL, Threading::Mutex* mtx_resume=NULL )
|
||||||
|
@ -105,7 +105,7 @@ class SysExecEvent_CoreThreadPause : public BaseSysExecEvent_ScopedCore
|
||||||
public:
|
public:
|
||||||
wxString GetEventName() const { return L"PauseCoreThread"; }
|
wxString GetEventName() const { return L"PauseCoreThread"; }
|
||||||
|
|
||||||
virtual ~SysExecEvent_CoreThreadPause() throw() {}
|
virtual ~SysExecEvent_CoreThreadPause() = default;
|
||||||
SysExecEvent_CoreThreadPause* Clone() const { return new SysExecEvent_CoreThreadPause( *this ); }
|
SysExecEvent_CoreThreadPause* Clone() const { return new SysExecEvent_CoreThreadPause( *this ); }
|
||||||
|
|
||||||
SysExecEvent_CoreThreadPause( SynchronousActionState* sync=NULL, SynchronousActionState* resume_sync=NULL, Threading::Mutex* mtx_resume=NULL )
|
SysExecEvent_CoreThreadPause( SynchronousActionState* sync=NULL, SynchronousActionState* resume_sync=NULL, Threading::Mutex* mtx_resume=NULL )
|
||||||
|
@ -165,7 +165,7 @@ protected:
|
||||||
IScopedCoreThread() {}
|
IScopedCoreThread() {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~IScopedCoreThread() throw() {};
|
virtual ~IScopedCoreThread() = default;;
|
||||||
virtual void AllowResume()=0;
|
virtual void AllowResume()=0;
|
||||||
virtual void DisallowResume()=0;
|
virtual void DisallowResume()=0;
|
||||||
};
|
};
|
||||||
|
@ -241,7 +241,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ScopedCoreThreadPopup();
|
ScopedCoreThreadPopup();
|
||||||
virtual ~ScopedCoreThreadPopup() throw() {}
|
virtual ~ScopedCoreThreadPopup() = default;
|
||||||
|
|
||||||
virtual void AllowResume();
|
virtual void AllowResume();
|
||||||
virtual void DisallowResume();
|
virtual void DisallowResume();
|
||||||
|
|
|
@ -82,7 +82,7 @@ public:
|
||||||
typedef CoreThreadStatus EvtParams;
|
typedef CoreThreadStatus EvtParams;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~IEventListener_CoreThread() throw() {}
|
virtual ~IEventListener_CoreThread() = default;
|
||||||
|
|
||||||
virtual void DispatchEvent( const CoreThreadStatus& status );
|
virtual void DispatchEvent( const CoreThreadStatus& status );
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ public:
|
||||||
typedef PluginEventType EvtParams;
|
typedef PluginEventType EvtParams;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~IEventListener_Plugins() throw() {}
|
virtual ~IEventListener_Plugins() = default;
|
||||||
|
|
||||||
virtual void DispatchEvent( const PluginEventType& pevt );
|
virtual void DispatchEvent( const PluginEventType& pevt );
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ public:
|
||||||
typedef AppEventInfo EvtParams;
|
typedef AppEventInfo EvtParams;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~IEventListener_AppStatus() throw() {}
|
virtual ~IEventListener_AppStatus() = default;
|
||||||
|
|
||||||
virtual void DispatchEvent( const AppEventInfo& evtinfo );
|
virtual void DispatchEvent( const AppEventInfo& evtinfo );
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ public:
|
||||||
pxAssert(dispatchTo != NULL);
|
pxAssert(dispatchTo != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~EventListenerHelper_CoreThread() throw() {}
|
virtual ~EventListenerHelper_CoreThread() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void CoreThread_OnIndeterminate() { Owner.OnCoreThread_Indeterminate(); }
|
void CoreThread_OnIndeterminate() { Owner.OnCoreThread_Indeterminate(); }
|
||||||
|
@ -218,7 +218,7 @@ public:
|
||||||
pxAssert(dispatchTo != NULL);
|
pxAssert(dispatchTo != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~EventListenerHelper_Plugins() throw() {}
|
virtual ~EventListenerHelper_Plugins() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void CorePlugins_OnLoaded() { Owner.OnCorePlugins_Loaded(); }
|
void CorePlugins_OnLoaded() { Owner.OnCorePlugins_Loaded(); }
|
||||||
|
@ -247,7 +247,7 @@ public:
|
||||||
pxAssert(dispatchTo != NULL);
|
pxAssert(dispatchTo != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~EventListenerHelper_AppStatus() throw() {}
|
virtual ~EventListenerHelper_AppStatus() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void AppStatusEvent_OnUiSettingsLoadSave( const AppSettingsEventInfo& evtinfo ) { Owner.AppStatusEvent_OnUiSettingsLoadSave( evtinfo ); }
|
virtual void AppStatusEvent_OnUiSettingsLoadSave( const AppSettingsEventInfo& evtinfo ) { Owner.AppStatusEvent_OnUiSettingsLoadSave( evtinfo ); }
|
||||||
|
@ -268,7 +268,7 @@ protected:
|
||||||
CoreThreadStatus m_evt;
|
CoreThreadStatus m_evt;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~CoreThreadStatusEvent() throw() {}
|
virtual ~CoreThreadStatusEvent() = default;
|
||||||
CoreThreadStatusEvent* Clone() const { return new CoreThreadStatusEvent( *this ); }
|
CoreThreadStatusEvent* Clone() const { return new CoreThreadStatusEvent( *this ); }
|
||||||
|
|
||||||
explicit CoreThreadStatusEvent( CoreThreadStatus evt, SynchronousActionState* sema=NULL );
|
explicit CoreThreadStatusEvent( CoreThreadStatus evt, SynchronousActionState* sema=NULL );
|
||||||
|
|
|
@ -36,7 +36,7 @@ protected:
|
||||||
public:
|
public:
|
||||||
wxString GetEventName() const { return L"SaveSinglePlugin"; }
|
wxString GetEventName() const { return L"SaveSinglePlugin"; }
|
||||||
|
|
||||||
virtual ~SysExecEvent_SaveSinglePlugin() throw() {}
|
virtual ~SysExecEvent_SaveSinglePlugin() = default;
|
||||||
SysExecEvent_SaveSinglePlugin* Clone() const { return new SysExecEvent_SaveSinglePlugin( *this ); }
|
SysExecEvent_SaveSinglePlugin* Clone() const { return new SysExecEvent_SaveSinglePlugin( *this ); }
|
||||||
|
|
||||||
SysExecEvent_SaveSinglePlugin( PluginsEnum_t pid=PluginId_GS )
|
SysExecEvent_SaveSinglePlugin( PluginsEnum_t pid=PluginId_GS )
|
||||||
|
|
|
@ -22,7 +22,7 @@ class BaseCpuUsageProvider
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BaseCpuUsageProvider() {}
|
BaseCpuUsageProvider() {}
|
||||||
virtual ~BaseCpuUsageProvider() throw() {}
|
virtual ~BaseCpuUsageProvider() = default;
|
||||||
|
|
||||||
virtual bool IsImplemented() const=0;
|
virtual bool IsImplemented() const=0;
|
||||||
virtual void UpdateStats()=0;
|
virtual void UpdateStats()=0;
|
||||||
|
@ -77,7 +77,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DefaultCpuUsageProvider();
|
DefaultCpuUsageProvider();
|
||||||
virtual ~DefaultCpuUsageProvider() throw() {}
|
virtual ~DefaultCpuUsageProvider() = default;
|
||||||
|
|
||||||
bool IsImplemented() const;
|
bool IsImplemented() const;
|
||||||
void Reset();
|
void Reset();
|
||||||
|
|
|
@ -80,7 +80,7 @@ class DisassemblyDialog : public wxFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DisassemblyDialog( wxWindow* parent=NULL );
|
DisassemblyDialog( wxWindow* parent=NULL );
|
||||||
virtual ~DisassemblyDialog() throw() {}
|
virtual ~DisassemblyDialog() = default;
|
||||||
|
|
||||||
static wxString GetNameStatic() { return L"DisassemblyDialog"; }
|
static wxString GetNameStatic() { return L"DisassemblyDialog"; }
|
||||||
wxString GetDialogName() const { return GetNameStatic(); }
|
wxString GetDialogName() const { return GetNameStatic(); }
|
||||||
|
|
|
@ -87,7 +87,7 @@ namespace Dialogs
|
||||||
class SysConfigDialog : public BaseConfigurationDialog
|
class SysConfigDialog : public BaseConfigurationDialog
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~SysConfigDialog() throw() {}
|
virtual ~SysConfigDialog() = default;
|
||||||
SysConfigDialog(wxWindow* parent=NULL);
|
SysConfigDialog(wxWindow* parent=NULL);
|
||||||
static wxString GetNameStatic() { return L"CoreSettings"; }
|
static wxString GetNameStatic() { return L"CoreSettings"; }
|
||||||
wxString GetDialogName() const { return GetNameStatic(); }
|
wxString GetDialogName() const { return GetNameStatic(); }
|
||||||
|
@ -119,7 +119,7 @@ namespace Dialogs
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
InterfaceLanguageDialog(wxWindow* parent = NULL);
|
InterfaceLanguageDialog(wxWindow* parent = NULL);
|
||||||
virtual ~InterfaceLanguageDialog() throw() { }
|
virtual ~InterfaceLanguageDialog() = default;
|
||||||
|
|
||||||
static wxString GetNameStatic() { return L"InterfaceLanguage"; }
|
static wxString GetNameStatic() { return L"InterfaceLanguage"; }
|
||||||
wxString GetDialogName() const { return GetNameStatic(); }
|
wxString GetDialogName() const { return GetNameStatic(); }
|
||||||
|
@ -140,7 +140,7 @@ namespace Dialogs
|
||||||
Panels::BaseMcdListPanel* m_panel_mcdlist;
|
Panels::BaseMcdListPanel* m_panel_mcdlist;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~McdConfigDialog() throw() {}
|
virtual ~McdConfigDialog() = default;
|
||||||
McdConfigDialog(wxWindow* parent=NULL);
|
McdConfigDialog(wxWindow* parent=NULL);
|
||||||
static wxString GetNameStatic() { return L"McdConfig"; }
|
static wxString GetNameStatic() { return L"McdConfig"; }
|
||||||
wxString GetDialogName() const { return GetNameStatic(); }
|
wxString GetDialogName() const { return GetNameStatic(); }
|
||||||
|
@ -156,7 +156,7 @@ namespace Dialogs
|
||||||
class GameDatabaseDialog : public BaseConfigurationDialog
|
class GameDatabaseDialog : public BaseConfigurationDialog
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~GameDatabaseDialog() throw() {}
|
virtual ~GameDatabaseDialog() = default;
|
||||||
GameDatabaseDialog(wxWindow* parent=NULL);
|
GameDatabaseDialog(wxWindow* parent=NULL);
|
||||||
static wxString GetNameStatic() { return L"GameDatabase"; }
|
static wxString GetNameStatic() { return L"GameDatabase"; }
|
||||||
wxString GetDialogName() const { return GetNameStatic(); }
|
wxString GetDialogName() const { return GetNameStatic(); }
|
||||||
|
@ -173,7 +173,7 @@ namespace Dialogs
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~ComponentsConfigDialog() throw() {}
|
virtual ~ComponentsConfigDialog() = default;
|
||||||
ComponentsConfigDialog(wxWindow* parent=NULL);
|
ComponentsConfigDialog(wxWindow* parent=NULL);
|
||||||
static wxString GetNameStatic() { return L"AppSettings"; }
|
static wxString GetNameStatic() { return L"AppSettings"; }
|
||||||
wxString GetDialogName() const { return GetNameStatic(); }
|
wxString GetDialogName() const { return GetNameStatic(); }
|
||||||
|
@ -200,7 +200,7 @@ namespace Dialogs
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~CreateMemoryCardDialog() throw() {}
|
virtual ~CreateMemoryCardDialog() = default;
|
||||||
CreateMemoryCardDialog( wxWindow* parent, const wxDirName& mcdpath, const wxString& suggested_mcdfileName);
|
CreateMemoryCardDialog( wxWindow* parent, const wxDirName& mcdpath, const wxString& suggested_mcdfileName);
|
||||||
|
|
||||||
//duplicate of MemoryCardFile::Create. Don't know why the existing method isn't used. - avih
|
//duplicate of MemoryCardFile::Create. Don't know why the existing method isn't used. - avih
|
||||||
|
@ -226,7 +226,7 @@ namespace Dialogs
|
||||||
pxRadioPanel* m_radio_CardType;
|
pxRadioPanel* m_radio_CardType;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~ConvertMemoryCardDialog() throw() {}
|
virtual ~ConvertMemoryCardDialog() = default;
|
||||||
ConvertMemoryCardDialog( wxWindow* parent, const wxDirName& mcdPath, const AppConfig::McdOptions& mcdSourceConfig );
|
ConvertMemoryCardDialog( wxWindow* parent, const wxDirName& mcdPath, const AppConfig::McdOptions& mcdSourceConfig );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -27,7 +27,7 @@ class LogOptionsDialog : public BaseConfigurationDialog
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
LogOptionsDialog( wxWindow* parent=NULL );
|
LogOptionsDialog( wxWindow* parent=NULL );
|
||||||
virtual ~LogOptionsDialog() throw() { }
|
virtual ~LogOptionsDialog() = default;
|
||||||
|
|
||||||
static wxString GetNameStatic() { return L"TraceLogSettings"; }
|
static wxString GetNameStatic() { return L"TraceLogSettings"; }
|
||||||
wxString GetDialogName() const { return GetNameStatic(); }
|
wxString GetDialogName() const { return GetNameStatic(); }
|
||||||
|
|
|
@ -65,7 +65,7 @@ namespace Dialogs
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AboutBoxDialog( wxWindow* parent=NULL );
|
AboutBoxDialog( wxWindow* parent=NULL );
|
||||||
virtual ~AboutBoxDialog() throw() {}
|
virtual ~AboutBoxDialog() = default;
|
||||||
|
|
||||||
static wxString GetNameStatic() { return L"AboutBox"; }
|
static wxString GetNameStatic() { return L"AboutBox"; }
|
||||||
wxString GetDialogName() const { return GetNameStatic(); }
|
wxString GetDialogName() const { return GetNameStatic(); }
|
||||||
|
@ -80,7 +80,7 @@ namespace Dialogs
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PickUserModeDialog( wxWindow* parent );
|
PickUserModeDialog( wxWindow* parent );
|
||||||
virtual ~PickUserModeDialog() throw() {}
|
virtual ~PickUserModeDialog() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void OnOk_Click( wxCommandEvent& evt );
|
void OnOk_Click( wxCommandEvent& evt );
|
||||||
|
@ -91,7 +91,7 @@ namespace Dialogs
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ImportSettingsDialog( wxWindow* parent );
|
ImportSettingsDialog( wxWindow* parent );
|
||||||
virtual ~ImportSettingsDialog() throw() {}
|
virtual ~ImportSettingsDialog() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void OnImport_Click( wxCommandEvent& evt );
|
void OnImport_Click( wxCommandEvent& evt );
|
||||||
|
@ -102,7 +102,7 @@ namespace Dialogs
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AssertionDialog( const wxString& text, const wxString& stacktrace );
|
AssertionDialog( const wxString& text, const wxString& stacktrace );
|
||||||
virtual ~AssertionDialog() throw() {}
|
virtual ~AssertionDialog() = default;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ protected:
|
||||||
wxWindow* m_WindowBound;
|
wxWindow* m_WindowBound;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~IsoDropTarget() throw() { }
|
virtual ~IsoDropTarget() = default;
|
||||||
IsoDropTarget( wxWindow* parent ) : wxFileDropTarget()
|
IsoDropTarget( wxWindow* parent ) : wxFileDropTarget()
|
||||||
{
|
{
|
||||||
m_WindowBound = parent;
|
m_WindowBound = parent;
|
||||||
|
|
|
@ -80,7 +80,7 @@ public:
|
||||||
m_menu_cmd = menu_command;
|
m_menu_cmd = menu_command;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~InvokeMenuCommand_OnSysStateUnlocked() throw() {}
|
virtual ~InvokeMenuCommand_OnSysStateUnlocked() = default;
|
||||||
|
|
||||||
virtual void SaveStateAction_OnCreateFinished()
|
virtual void SaveStateAction_OnCreateFinished()
|
||||||
{
|
{
|
||||||
|
|
|
@ -333,7 +333,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FolderMemoryCard();
|
FolderMemoryCard();
|
||||||
virtual ~FolderMemoryCard() throw() {}
|
virtual ~FolderMemoryCard() = default;
|
||||||
|
|
||||||
void Lock();
|
void Lock();
|
||||||
void Unlock();
|
void Unlock();
|
||||||
|
@ -556,7 +556,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FolderMemoryCardAggregator();
|
FolderMemoryCardAggregator();
|
||||||
virtual ~FolderMemoryCardAggregator() throw( ) {}
|
virtual ~FolderMemoryCardAggregator() = default;
|
||||||
|
|
||||||
void Open();
|
void Open();
|
||||||
void Close();
|
void Close();
|
||||||
|
|
|
@ -51,7 +51,7 @@ namespace Panels
|
||||||
public:
|
public:
|
||||||
DirPickerPanel( wxWindow* parent, FoldersEnum_t folderid, const wxString& label, const wxString& dialogLabel );
|
DirPickerPanel( wxWindow* parent, FoldersEnum_t folderid, const wxString& label, const wxString& dialogLabel );
|
||||||
DirPickerPanel( wxWindow* parent, FoldersEnum_t folderid, const wxString& dialogLabel );
|
DirPickerPanel( wxWindow* parent, FoldersEnum_t folderid, const wxString& dialogLabel );
|
||||||
virtual ~DirPickerPanel() throw() { }
|
virtual ~DirPickerPanel() = default;
|
||||||
|
|
||||||
void Reset();
|
void Reset();
|
||||||
wxDirName GetPath() const;
|
wxDirName GetPath() const;
|
||||||
|
@ -89,7 +89,7 @@ namespace Panels
|
||||||
DirPickerPanel* m_dirpicker_custom;
|
DirPickerPanel* m_dirpicker_custom;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~DocsFolderPickerPanel() throw() { }
|
virtual ~DocsFolderPickerPanel() = default;
|
||||||
DocsFolderPickerPanel( wxWindow* parent, bool isFirstTime = true );
|
DocsFolderPickerPanel( wxWindow* parent, bool isFirstTime = true );
|
||||||
|
|
||||||
void Apply();
|
void Apply();
|
||||||
|
@ -109,7 +109,7 @@ namespace Panels
|
||||||
wxComboBox* m_picker;
|
wxComboBox* m_picker;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~LanguageSelectionPanel() throw() { }
|
virtual ~LanguageSelectionPanel() = default;
|
||||||
LanguageSelectionPanel( wxWindow* parent, bool showApply = true );
|
LanguageSelectionPanel( wxWindow* parent, bool showApply = true );
|
||||||
|
|
||||||
void Apply();
|
void Apply();
|
||||||
|
@ -135,7 +135,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BaseAdvancedCpuOptions( wxWindow* parent );
|
BaseAdvancedCpuOptions( wxWindow* parent );
|
||||||
virtual ~BaseAdvancedCpuOptions() throw() { }
|
virtual ~BaseAdvancedCpuOptions() = default;
|
||||||
|
|
||||||
void RestoreDefaults();
|
void RestoreDefaults();
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ namespace Panels
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AdvancedOptionsFPU( wxWindow* parent );
|
AdvancedOptionsFPU( wxWindow* parent );
|
||||||
virtual ~AdvancedOptionsFPU() throw() { }
|
virtual ~AdvancedOptionsFPU() = default;
|
||||||
void Apply();
|
void Apply();
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
void ApplyConfigToGui( AppConfig& configToApply, int flags=0 );
|
void ApplyConfigToGui( AppConfig& configToApply, int flags=0 );
|
||||||
|
@ -161,7 +161,7 @@ namespace Panels
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AdvancedOptionsVU( wxWindow* parent );
|
AdvancedOptionsVU( wxWindow* parent );
|
||||||
virtual ~AdvancedOptionsVU() throw() { }
|
virtual ~AdvancedOptionsVU() = default;
|
||||||
void Apply();
|
void Apply();
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
void ApplyConfigToGui( AppConfig& configToApply, int flags=0 );
|
void ApplyConfigToGui( AppConfig& configToApply, int flags=0 );
|
||||||
|
@ -182,7 +182,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CpuPanelEE( wxWindow* parent );
|
CpuPanelEE( wxWindow* parent );
|
||||||
virtual ~CpuPanelEE() throw() {}
|
virtual ~CpuPanelEE() = default;
|
||||||
|
|
||||||
void Apply();
|
void Apply();
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
|
@ -203,7 +203,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CpuPanelVU( wxWindow* parent );
|
CpuPanelVU( wxWindow* parent );
|
||||||
virtual ~CpuPanelVU() throw() {}
|
virtual ~CpuPanelVU() = default;
|
||||||
|
|
||||||
void Apply();
|
void Apply();
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
|
@ -226,7 +226,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FrameSkipPanel( wxWindow* parent );
|
FrameSkipPanel( wxWindow* parent );
|
||||||
virtual ~FrameSkipPanel() throw() {}
|
virtual ~FrameSkipPanel() = default;
|
||||||
|
|
||||||
void Apply();
|
void Apply();
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
|
@ -253,7 +253,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FramelimiterPanel( wxWindow* parent );
|
FramelimiterPanel( wxWindow* parent );
|
||||||
virtual ~FramelimiterPanel() throw() {}
|
virtual ~FramelimiterPanel() = default;
|
||||||
|
|
||||||
void Apply();
|
void Apply();
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
|
@ -293,7 +293,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GSWindowSettingsPanel( wxWindow* parent );
|
GSWindowSettingsPanel( wxWindow* parent );
|
||||||
virtual ~GSWindowSettingsPanel() throw() {}
|
virtual ~GSWindowSettingsPanel() = default;
|
||||||
void Apply();
|
void Apply();
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
void ApplyConfigToGui( AppConfig& configToApply, int flags=0 );
|
void ApplyConfigToGui( AppConfig& configToApply, int flags=0 );
|
||||||
|
@ -309,7 +309,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
VideoPanel( wxWindow* parent );
|
VideoPanel( wxWindow* parent );
|
||||||
virtual ~VideoPanel() throw() {}
|
virtual ~VideoPanel() = default;
|
||||||
void Apply();
|
void Apply();
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
void ApplyConfigToGui( AppConfig& configToApply, int flags=0 );
|
void ApplyConfigToGui( AppConfig& configToApply, int flags=0 );
|
||||||
|
@ -343,7 +343,7 @@ namespace Panels
|
||||||
pxCheckBox* m_check_vuThread;
|
pxCheckBox* m_check_vuThread;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~SpeedHacksPanel() throw() {}
|
virtual ~SpeedHacksPanel() = default;
|
||||||
SpeedHacksPanel( wxWindow* parent );
|
SpeedHacksPanel( wxWindow* parent );
|
||||||
void Apply();
|
void Apply();
|
||||||
void EnableStuff( AppConfig* configToUse=NULL );
|
void EnableStuff( AppConfig* configToUse=NULL );
|
||||||
|
@ -374,7 +374,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GameFixesPanel( wxWindow* parent );
|
GameFixesPanel( wxWindow* parent );
|
||||||
virtual ~GameFixesPanel() throw() { }
|
virtual ~GameFixesPanel() = default;
|
||||||
void EnableStuff( AppConfig* configToUse=NULL );
|
void EnableStuff( AppConfig* configToUse=NULL );
|
||||||
void OnEnable_Toggled( wxCommandEvent& evt );
|
void OnEnable_Toggled( wxCommandEvent& evt );
|
||||||
void Apply();
|
void Apply();
|
||||||
|
@ -402,7 +402,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GameDatabasePanel( wxWindow* parent );
|
GameDatabasePanel( wxWindow* parent );
|
||||||
virtual ~GameDatabasePanel() throw() { }
|
virtual ~GameDatabasePanel() = default;
|
||||||
void Apply();
|
void Apply();
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
eeLogOptionsPanel( LogOptionsPanel* parent );
|
eeLogOptionsPanel( LogOptionsPanel* parent );
|
||||||
virtual ~eeLogOptionsPanel() throw() {}
|
virtual ~eeLogOptionsPanel() = default;
|
||||||
|
|
||||||
CheckedStaticBox* GetStaticBox( const wxString& subgroup ) const;
|
CheckedStaticBox* GetStaticBox( const wxString& subgroup ) const;
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
iopLogOptionsPanel( LogOptionsPanel* parent );
|
iopLogOptionsPanel( LogOptionsPanel* parent );
|
||||||
virtual ~iopLogOptionsPanel() throw() {}
|
virtual ~iopLogOptionsPanel() = default;
|
||||||
|
|
||||||
CheckedStaticBox* GetStaticBox( const wxString& subgroup ) const;
|
CheckedStaticBox* GetStaticBox( const wxString& subgroup ) const;
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
LogOptionsPanel( wxWindow* parent );
|
LogOptionsPanel( wxWindow* parent );
|
||||||
virtual ~LogOptionsPanel() throw() {}
|
virtual ~LogOptionsPanel() = default;
|
||||||
|
|
||||||
void AppStatusEvent_OnSettingsApplied();
|
void AppStatusEvent_OnSettingsApplied();
|
||||||
void OnUpdateEnableAll();
|
void OnUpdateEnableAll();
|
||||||
|
|
|
@ -107,7 +107,7 @@ public:
|
||||||
void setExternHandler(void (*f)(void)){m_externHandler=f;};
|
void setExternHandler(void (*f)(void)){m_externHandler=f;};
|
||||||
void OnChanged(wxEvent& evt){if (m_externHandler) m_externHandler(); evt.Skip();}
|
void OnChanged(wxEvent& evt){if (m_externHandler) m_externHandler(); evt.Skip();}
|
||||||
|
|
||||||
virtual ~BaseMcdListView() throw() { }
|
virtual ~BaseMcdListView() = default;
|
||||||
BaseMcdListView( wxWindow* parent )
|
BaseMcdListView( wxWindow* parent )
|
||||||
: _parent( parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_SINGLE_SEL | wxLC_VIRTUAL )
|
: _parent( parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_SINGLE_SEL | wxLC_VIRTUAL )
|
||||||
{
|
{
|
||||||
|
@ -134,7 +134,7 @@ class MemoryCardListView_Simple : public BaseMcdListView
|
||||||
typedef BaseMcdListView _parent;
|
typedef BaseMcdListView _parent;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~MemoryCardListView_Simple() throw() { }
|
virtual ~MemoryCardListView_Simple() = default;
|
||||||
MemoryCardListView_Simple( wxWindow* parent );
|
MemoryCardListView_Simple( wxWindow* parent );
|
||||||
|
|
||||||
void CreateColumns();
|
void CreateColumns();
|
||||||
|
@ -182,7 +182,7 @@ namespace Panels
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~BaseMcdListPanel() throw() {}
|
virtual ~BaseMcdListPanel() = default;
|
||||||
BaseMcdListPanel( wxWindow* parent );
|
BaseMcdListPanel( wxWindow* parent );
|
||||||
|
|
||||||
void CreateLayout();
|
void CreateLayout();
|
||||||
|
@ -295,7 +295,7 @@ namespace Panels
|
||||||
|
|
||||||
public:
|
public:
|
||||||
McdConfigPanel_Toggles( wxWindow* parent );
|
McdConfigPanel_Toggles( wxWindow* parent );
|
||||||
virtual ~McdConfigPanel_Toggles() throw() { }
|
virtual ~McdConfigPanel_Toggles() = default;
|
||||||
void Apply();
|
void Apply();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -76,6 +76,6 @@ struct RecentIsoList
|
||||||
std::unique_ptr<wxMenu> Menu;
|
std::unique_ptr<wxMenu> Menu;
|
||||||
|
|
||||||
RecentIsoList(int firstIdForMenuItems_or_wxID_ANY);
|
RecentIsoList(int firstIdForMenuItems_or_wxID_ANY);
|
||||||
virtual ~RecentIsoList() throw() { }
|
virtual ~RecentIsoList() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ protected:
|
||||||
SynchronousActionState* m_sync;
|
SynchronousActionState* m_sync;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~SysExecEvent() throw() {}
|
virtual ~SysExecEvent() = default;
|
||||||
SysExecEvent* Clone() const { return new SysExecEvent( *this ); }
|
SysExecEvent* Clone() const { return new SysExecEvent( *this ); }
|
||||||
|
|
||||||
SysExecEvent( SynchronousActionState* sync=NULL )
|
SysExecEvent( SynchronousActionState* sync=NULL )
|
||||||
|
@ -145,7 +145,7 @@ protected:
|
||||||
public:
|
public:
|
||||||
wxString GetEventName() const { return m_TraceName; }
|
wxString GetEventName() const { return m_TraceName; }
|
||||||
|
|
||||||
virtual ~SysExecEvent_MethodVoid() throw() {}
|
virtual ~SysExecEvent_MethodVoid() = default;
|
||||||
SysExecEvent_MethodVoid* Clone() const { return new SysExecEvent_MethodVoid( *this ); }
|
SysExecEvent_MethodVoid* Clone() const { return new SysExecEvent_MethodVoid( *this ); }
|
||||||
|
|
||||||
bool AllowCancelOnExit() const { return !m_IsCritical; }
|
bool AllowCancelOnExit() const { return !m_IsCritical; }
|
||||||
|
@ -214,7 +214,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
pxEvtQueue();
|
pxEvtQueue();
|
||||||
virtual ~pxEvtQueue() throw() {}
|
virtual ~pxEvtQueue() = default;
|
||||||
|
|
||||||
virtual wxString GetEventHandlerName() const { return L"pxEvtQueue"; }
|
virtual wxString GetEventHandlerName() const { return L"pxEvtQueue"; }
|
||||||
|
|
||||||
|
@ -273,7 +273,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ExecutorThread( pxEvtQueue* evtandler = NULL );
|
ExecutorThread( pxEvtQueue* evtandler = NULL );
|
||||||
virtual ~ExecutorThread() throw() { }
|
virtual ~ExecutorThread() = default;
|
||||||
|
|
||||||
virtual void ShutdownQueue();
|
virtual void ShutdownQueue();
|
||||||
bool IsRunning() const;
|
bool IsRunning() const;
|
||||||
|
|
|
@ -46,7 +46,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
VifUnpackSSE_Base();
|
VifUnpackSSE_Base();
|
||||||
virtual ~VifUnpackSSE_Base() throw() {}
|
virtual ~VifUnpackSSE_Base() = default;
|
||||||
|
|
||||||
virtual void xUnpack( int upktype ) const;
|
virtual void xUnpack( int upktype ) const;
|
||||||
virtual bool IsUnmaskedOp() const=0;
|
virtual bool IsUnmaskedOp() const=0;
|
||||||
|
@ -90,7 +90,7 @@ public:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
VifUnpackSSE_Simple(bool usn_, bool domask_, int curCycle_);
|
VifUnpackSSE_Simple(bool usn_, bool domask_, int curCycle_);
|
||||||
virtual ~VifUnpackSSE_Simple() throw() {}
|
virtual ~VifUnpackSSE_Simple() = default;
|
||||||
|
|
||||||
virtual bool IsUnmaskedOp() const{ return !doMask; }
|
virtual bool IsUnmaskedOp() const{ return !doMask; }
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ public:
|
||||||
vCL = src.vCL;
|
vCL = src.vCL;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~VifUnpackSSE_Dynarec() throw() {}
|
virtual ~VifUnpackSSE_Dynarec() = default;
|
||||||
|
|
||||||
virtual bool IsUnmaskedOp() const{ return !doMode && !doMask; }
|
virtual bool IsUnmaskedOp() const{ return !doMode && !doMask; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue