Hyprland/src/helpers/TagKeeper.hpp
Vaxry 8bbeee1173
core: Add clang-tidy (#8664)
This adds a .clang-tidy file for us.

It's not a strict requirement to be compliant, but I tuned it to be alright.
2024-12-07 18:51:18 +01:00

18 lines
371 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();
const auto& getTags() const {
return m_tags;
};
private:
std::set<std::string> m_tags;
};