dolphin/Source/Core/DolphinQt2/HotkeyScheduler.h

53 lines
917 B
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:
void ExitHotkey();
void FullScreenHotkey();
void StopHotkey();
void TogglePauseHotkey();
void ScreenShotHotkey();
void SetStateSlotHotkey(int slot);
void StateLoadSlotHotkey();
void StateSaveSlotHotkey();
2017-09-03 00:58:38 +00:00
void StartRecording();
void ExportRecording();
void ToggleReadOnlyMode();
void ConnectWiiRemote(int id);
2018-02-14 22:25:01 +00:00
void Step();
void StepOver();
void StepOut();
void Skip();
void ShowPC();
void SetPC();
void ToggleBreakpoint();
void AddBreakpoint();
private:
void Run();
Common::Flag m_stop_requested;
std::thread m_thread;
};