mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 16:26:00 +01:00
18 lines
393 B
C++
18 lines
393 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <set>
|
|
|
|
class CTagKeeper {
|
|
public:
|
|
bool isTagged(const std::string& tag, bool strict = false);
|
|
bool applyTag(const std::string& tag, bool dynamic = false);
|
|
bool removeDynamicTags();
|
|
|
|
inline const auto& getTags() {
|
|
return m_tags;
|
|
};
|
|
|
|
private:
|
|
std::set<std::string> m_tags;
|
|
};
|