mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-10-30 20:31:39 -05:00
Show variable usage count on variable tab
This commit is contained in:
15
lib/variables/variable-usage.hpp
Normal file
15
lib/variables/variable-usage.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
namespace advss {
|
||||
|
||||
struct VariableUsage {
|
||||
int referenceCount = 0;
|
||||
std::vector<std::string> macroNames;
|
||||
};
|
||||
|
||||
std::unordered_map<std::string, VariableUsage> GetVariableUsage();
|
||||
|
||||
} // namespace advss
|
||||
Reference in New Issue
Block a user