dolphin/Source/Core/DolphinQt/HotkeyScheduler.h

68 lines
1.3 KiB
C
Raw Normal View History

// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <thread>
#include <QObject>
#include "Common/Flag.h"
class HotkeyScheduler : public QObject
{
Q_OBJECT
public:
explicit HotkeyScheduler();
~HotkeyScheduler();
void Start();
void Stop();
signals:
2018-05-09 00:27:04 -06:00
void Open();
void EjectDisc();
void ChangeDisc();
void ExitHotkey();
void FullScreenHotkey();
void StopHotkey();
2018-05-11 19:56:10 -06:00
void ResetHotkey();
void TogglePauseHotkey();
void ScreenShotHotkey();
void RefreshGameListHotkey();
void SetStateSlotHotkey(int slot);
void StateLoadSlotHotkey();
void StateSaveSlotHotkey();
2018-05-17 12:27:14 -06:00
void StateLoadSlot(int state);
void StateSaveSlot(int state);
void StateLoadLastSaved(int state);
void StateSaveOldest();
void StateLoadFile();
void StateSaveFile();
2018-05-17 12:27:14 -06:00
void StateLoadUndo();
void StateSaveUndo();
2017-09-02 18:58:38 -06:00
void StartRecording();
void ExportRecording();
void ToggleReadOnlyMode();
void ConnectWiiRemote(int id);
2018-02-14 15:25:01 -07:00
void Step();
void StepOver();
void StepOut();
void Skip();
void ShowPC();
void SetPC();
void ToggleBreakpoint();
void AddBreakpoint();
private:
void Run();
void CheckDebuggingHotkeys();
Common::Flag m_stop_requested;
std::thread m_thread;
};