SceneSwitcher/switcher.h
WarmUpTill f9634cf8e7 Removed unnecessary includes and some cleanup
Hotkeys have to be rebound by users again
2016-06-26 17:49:09 +02:00

25 lines
477 B
C++

#pragma once
#include "settings.h"
#include <map>
#include <windows.h>
#include <thread>
using namespace std;
class Switcher {
public:
bool getIsRunning();
void firstLoad();
void load();
void start();
void stop();
string getSettingsFilePath();
thread switcherThread;
private:
bool isRunning = true;
Settings settings;
map<string, string> settingsMap;
void switcherThreadFunc();
bool isWindowFullscreen();
string GetActiveWindowTitle();
};