mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-16 14:46:37 -05:00
29 lines
814 B
C++
29 lines
814 B
C++
#pragma once
|
|
#include "export-symbol-helper.hpp"
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
#include <QStringList>
|
|
#include <chrono>
|
|
#include <optional>
|
|
|
|
namespace advss {
|
|
|
|
enum class HotkeyType;
|
|
|
|
EXPORT std::vector<std::string> GetWindowList();
|
|
EXPORT std::string GetCurrentWindowTitle();
|
|
EXPORT bool IsFullscreen(const std::string &title);
|
|
EXPORT bool IsMaximized(const std::string &title);
|
|
EXPORT std::optional<std::string> GetTextInWindow(const std::string &window);
|
|
EXPORT int SecondsSinceLastInput();
|
|
EXPORT QStringList GetProcessList();
|
|
EXPORT std::string GetForegroundProcessName();
|
|
EXPORT std::string GetForegroundProcessPath();
|
|
EXPORT QStringList GetProcessPathsFromName(const QString &name);
|
|
EXPORT bool IsInFocus(const QString &executable);
|
|
void PlatformInit();
|
|
void PlatformCleanup();
|
|
|
|
} // namespace advss
|