core: add missing headers (#12686)
This commit is contained in:
parent
315806f598
commit
3bbbb5aaca
4 changed files with 8 additions and 4 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <type_traits>
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
#include <algorithm>
|
||||
|
||||
namespace Desktop::Rule {
|
||||
template <typename T>
|
||||
|
|
@ -78,4 +79,4 @@ namespace Desktop::Rule {
|
|||
std::vector<std::string> m_keys;
|
||||
size_t m_originalSize = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#include "TagMatchEngine.hpp"
|
||||
#include "../../../helpers/TagKeeper.hpp"
|
||||
#include <string>
|
||||
|
||||
using namespace Desktop::Rule;
|
||||
|
||||
|
|
@ -9,4 +10,4 @@ CTagMatchEngine::CTagMatchEngine(const std::string& tag) : m_tag(tag) {
|
|||
|
||||
bool CTagMatchEngine::match(const CTagKeeper& keeper) {
|
||||
return keeper.isTagged(m_tag);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "MatchEngine.hpp"
|
||||
#include <string>
|
||||
|
||||
namespace Desktop::Rule {
|
||||
class CTagMatchEngine : public IMatchEngine {
|
||||
|
|
@ -13,4 +14,4 @@ namespace Desktop::Rule {
|
|||
private:
|
||||
std::string m_tag;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "MatchEngine.hpp"
|
||||
#include <string>
|
||||
|
||||
namespace Desktop::Rule {
|
||||
class CWorkspaceMatchEngine : public IMatchEngine {
|
||||
|
|
@ -13,4 +14,4 @@ namespace Desktop::Rule {
|
|||
private:
|
||||
std::string m_value = "";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue