From abe69082514b61181c6bc15a341895c971ecdc43 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 4 Jan 2010 23:24:55 +0000 Subject: The cache works...really well. --- src/cache.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/cache.h') 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 @@ #include #include "variable.h" +#include "types.h" class Cache : public Bu::Singleton { @@ -21,12 +22,14 @@ public: void load(); void save(); - + StrList getRequires( const Bu::FString &sOutput ); + void setRequires( const Bu::FString &sOutput, StrList lReqs ); private: + bool bCacheChanged; Bu::FString sCacheFile; bool bIsLoaded; - typedef Bu::Hash > ReqHash; + typedef Bu::Hash ReqHash; ReqHash hRequires; typedef Bu::Hash VarHash; VarHash hVariables; -- cgit v1.2.3