mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-05 00:35:46 -05:00
20 lines
608 B
C++
20 lines
608 B
C++
#pragma once
|
|
#include "hotkey.hpp"
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
#include <QStringList>
|
|
|
|
void GetWindowList(std::vector<std::string> &windows);
|
|
void GetWindowList(QStringList &windows);
|
|
void GetCurrentWindowTitle(std::string &title);
|
|
bool isFullscreen(const std::string &title);
|
|
bool isMaximized(const std::string &title);
|
|
int secondsSinceLastInput();
|
|
void GetProcessList(QStringList &processes);
|
|
void GetForegroundProcessName(std::string &name);
|
|
bool isInFocus(const QString &executable);
|
|
void PressKeys(const std::vector<HotkeyType> keys, int duration);
|
|
void PlatformInit();
|
|
void PlatformCleanup();
|