core: add missing headers (#12686)

This commit is contained in:
dylanetaft 2025-12-20 12:52:54 -05:00 committed by GitHub
parent 315806f598
commit 3bbbb5aaca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View file

@ -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;
};
};
};

View file

@ -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);
}
}

View file

@ -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;
};
}
}

View file

@ -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 = "";
};
}
}