mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Adjust to merge
This commit is contained in:
parent
d66a2dc408
commit
7d381b9ba1
|
|
@ -8,7 +8,7 @@ public:
|
|||
bool CheckCondition();
|
||||
bool Save(obs_data_t *obj);
|
||||
bool Load(obs_data_t *obj);
|
||||
int GetId() { return id; };
|
||||
std::string GetId() { return id; };
|
||||
static std::shared_ptr<MacroCondition> Create()
|
||||
{
|
||||
return std::make_shared<MacroConditionVirtDesktop>();
|
||||
|
|
@ -17,7 +17,7 @@ public:
|
|||
|
||||
private:
|
||||
static bool _registered;
|
||||
static const int id;
|
||||
static const std::string id;
|
||||
};
|
||||
|
||||
class MacroConditionVirtDesktopEdit : public QWidget {
|
||||
|
|
|
|||
|
|
@ -9,3 +9,5 @@ std::pair<int, int> getCursorPos();
|
|||
int secondsSinceLastInput();
|
||||
void GetProcessList(QStringList &processes);
|
||||
bool isInFocus(const QString &executable);
|
||||
bool GetCurrentVirtualDesktop(long &desktop);
|
||||
bool GetVirtualDesktopCount(long &ndesktops);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include "headers/utility.hpp"
|
||||
#include "headers/advanced-scene-switcher.hpp"
|
||||
|
||||
const int MacroConditionVirtDesktop::id = 12;
|
||||
const std::string MacroConditionVirtDesktop::id = "virtual_desktop";
|
||||
|
||||
bool MacroConditionVirtDesktop::_registered = MacroConditionFactory::Register(
|
||||
MacroConditionVirtDesktop::id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user