summaryrefslogtreecommitdiff
path: root/indra/newview/llappcorehttp.h
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2013-05-07 16:18:31 +0000
committerMonty Brandenberg <monty@lindenlab.com>2013-05-07 16:18:31 +0000
commit2df0a2494691ebfdd305e6a5ee280dd758a1b337 (patch)
tree713d08a4e4e46118f39ef02d3d81594df0a4fa19 /indra/newview/llappcorehttp.h
parent7911f065cde252d3f1eda4a1577e5d0b3eb94e19 (diff)
SH-4139 Convert http downloaders and responders to llcorehttp patterns
Initial work completed on linux, moving over to windows to do debug and refinement. This includes 5/6 handlers based on existing responders and use of llcorehttp for the mesh header fetch.
Diffstat (limited to 'indra/newview/llappcorehttp.h')
-rw-r--r--indra/newview/llappcorehttp.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/indra/newview/llappcorehttp.h b/indra/newview/llappcorehttp.h
index 241d73ad52..d90af9e5ca 100644
--- a/indra/newview/llappcorehttp.h
+++ b/indra/newview/llappcorehttp.h
@@ -4,7 +4,7 @@
*
* $LicenseInfo:firstyear=2012&license=viewerlgpl$
* Second Life Viewer Source Code
- * Copyright (C) 2012, Linden Research, Inc.
+ * Copyright (C) 2012-2013, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -70,6 +70,18 @@ public:
{
return mPolicyDefault;
}
+
+ // Get the texture fetch policy class.
+ int getPolicyTexture() const
+ {
+ return mPolicyTexture;
+ }
+
+ // Get the mesh fetch policy class.
+ int getPolicyMesh() const
+ {
+ return mPolicyMesh;
+ }
private:
static const F64 MAX_THREAD_WAIT_TIME;
@@ -80,6 +92,8 @@ private:
F64 mStopRequested;
bool mStopped;
int mPolicyDefault;
+ int mPolicyTexture;
+ int mPolicyMesh;
};