aboutsummaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cache.h b/src/cache.h
index 8932091..57df281 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -2,7 +2,7 @@
2#define CACHE_H 2#define CACHE_H
3 3
4#include <bu/singleton.h> 4#include <bu/singleton.h>
5#include <bu/fstring.h> 5#include <bu/string.h>
6#include <bu/hash.h> 6#include <bu/hash.h>
7#include <bu/list.h> 7#include <bu/list.h>
8 8
@@ -17,21 +17,21 @@ private:
17 virtual ~Cache(); 17 virtual ~Cache();
18 18
19public: 19public:
20 void bind( const Bu::FString &sCacheFile ); 20 void bind( const Bu::String &sCacheFile );
21 21
22 void load(); 22 void load();
23 void save(); 23 void save();
24 24
25 StrList getRequires( const Bu::FString &sOutput ); 25 StrList getRequires( const Bu::String &sOutput );
26 void setRequires( const Bu::FString &sOutput, StrList lReqs ); 26 void setRequires( const Bu::String &sOutput, StrList lReqs );
27 27
28private: 28private:
29 bool bCacheChanged; 29 bool bCacheChanged;
30 Bu::FString sCacheFile; 30 Bu::String sCacheFile;
31 bool bIsLoaded; 31 bool bIsLoaded;
32 typedef Bu::Hash<Bu::FString, StrList> ReqHash; 32 typedef Bu::Hash<Bu::String, StrList> ReqHash;
33 ReqHash hRequires; 33 ReqHash hRequires;
34 typedef Bu::Hash<Bu::FString, Variable> VarHash; 34 typedef Bu::Hash<Bu::String, Variable> VarHash;
35 VarHash hVariables; 35 VarHash hVariables;
36}; 36};
37 37