mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
27 lines
516 B
C++
27 lines
516 B
C++
#pragma once
|
|
#include "settings.h"
|
|
#include <iostream>
|
|
#include <map>
|
|
#include <windows.h>
|
|
#include <string>
|
|
#include <chrono>
|
|
#include <thread>
|
|
|
|
using namespace std;
|
|
|
|
class Switcher {
|
|
public:
|
|
bool getIsRunning();
|
|
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();
|
|
}; |