aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltexturecache.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltexturecache.h')
-rw-r--r--linden/indra/newview/lltexturecache.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/lltexturecache.h b/linden/indra/newview/lltexturecache.h
index e15a88b..b5abb67 100644
--- a/linden/indra/newview/lltexturecache.h
+++ b/linden/indra/newview/lltexturecache.h
@@ -83,7 +83,7 @@ public:
83 void purgeCache(ELLPath location); 83 void purgeCache(ELLPath location);
84 S64 initCache(ELLPath location, S64 maxsize, BOOL read_only); 84 S64 initCache(ELLPath location, S64 maxsize, BOOL read_only);
85 85
86 handle_t readFromCache(const LLString& local_filename, const LLUUID& id, U32 priority, S32 offset, S32 size, 86 handle_t readFromCache(const std::string& local_filename, const LLUUID& id, U32 priority, S32 offset, S32 size,
87 ReadResponder* responder); 87 ReadResponder* responder);
88 88
89 handle_t readFromCache(const LLUUID& id, U32 priority, S32 offset, S32 size, 89 handle_t readFromCache(const LLUUID& id, U32 priority, S32 offset, S32 size,
@@ -114,6 +114,9 @@ protected:
114 std::string getTextureFileName(const LLUUID& id); 114 std::string getTextureFileName(const LLUUID& id);
115 void addCompleted(Responder* responder, bool success); 115 void addCompleted(Responder* responder, bool success);
116 116
117protected:
118 void setFileAPRPool(apr_pool_t* pool) { mFileAPRPool = pool ; }
119
117private: 120private:
118 void setDirNames(ELLPath location); 121 void setDirNames(ELLPath location);
119 void readHeaderCache(apr_pool_t* poolp = NULL); 122 void readHeaderCache(apr_pool_t* poolp = NULL);