summaryrefslogtreecommitdiff
path: root/src/minimacro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/minimacro.cpp')
-rw-r--r--src/minimacro.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/minimacro.cpp b/src/minimacro.cpp
index 374b7de..2bd156c 100644
--- a/src/minimacro.cpp
+++ b/src/minimacro.cpp
@@ -132,3 +132,13 @@ void Bu::MiniMacro::addVar(
132 hVars.insert( sName, sValue ); 132 hVars.insert( sName, sValue );
133} 133}
134 134
135bool Bu::MiniMacro::hasVar( const Bu::FString &sName )
136{
137 return hVars.has( sName );
138}
139
140const Bu::FString &Bu::MiniMacro::getvar( const Bu::FString &sName )
141{
142 return hVars.get( sName );
143}
144