diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
commit | c435c7daa9df1b08dc85132fcd1c154bea9b69e2 (patch) | |
tree | 5537f3c91a67b35c4c8aa918b708b7e4aad8f146 /src/cache.h | |
parent | 59690513123de8904eef2a03fe7fcaaed98b1b7b (diff) | |
download | build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.gz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.bz2 build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.xz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.zip |
Fixes to use libbu++ Bu::String
Diffstat (limited to 'src/cache.h')
-rw-r--r-- | src/cache.h | 14 |
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 | ||
19 | public: | 19 | public: |
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 | ||
28 | private: | 28 | private: |
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 | ||