aboutsummaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cache.h b/src/cache.h
index 31da981..8932091 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -7,6 +7,7 @@
7#include <bu/list.h> 7#include <bu/list.h>
8 8
9#include "variable.h" 9#include "variable.h"
10#include "types.h"
10 11
11class Cache : public Bu::Singleton<Cache> 12class Cache : public Bu::Singleton<Cache>
12{ 13{
@@ -21,12 +22,14 @@ public:
21 void load(); 22 void load();
22 void save(); 23 void save();
23 24
24 25 StrList getRequires( const Bu::FString &sOutput );
26 void setRequires( const Bu::FString &sOutput, StrList lReqs );
25 27
26private: 28private:
29 bool bCacheChanged;
27 Bu::FString sCacheFile; 30 Bu::FString sCacheFile;
28 bool bIsLoaded; 31 bool bIsLoaded;
29 typedef Bu::Hash<Bu::FString, Bu::List<Bu::FString> > ReqHash; 32 typedef Bu::Hash<Bu::FString, StrList> ReqHash;
30 ReqHash hRequires; 33 ReqHash hRequires;
31 typedef Bu::Hash<Bu::FString, Variable> VarHash; 34 typedef Bu::Hash<Bu::FString, Variable> VarHash;
32 VarHash hVariables; 35 VarHash hVariables;