Add helper function to convert to new id format

This commit is contained in:
WarmUpTill
2021-05-22 02:07:07 +02:00
committed by WarmUpTill
parent 5b4ddfa669
commit 283025f1a8
2 changed files with 64 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ public:
std::shared_ptr<MacroCondition>);
static auto GetConditionTypes() { return _methods; }
static std::string GetConditionName(const std::string &);
static std::string GetIdByName(const QString& name);
static std::string GetIdByName(const QString &name);
private:
static std::map<std::string, MacroConditionInfo> _methods;