summaryrefslogtreecommitdiff
path: root/indra/llcommon/llavatarname.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-03-10 15:47:27 -0400
committerOz Linden <oz@lindenlab.com>2014-03-10 15:47:27 -0400
commit0f3ba54a7ececa4d6f7c247a3ffa3a2f9572268e (patch)
treec7d3d7cc7a6d1a22ad7b69f45ade31ef4780f9e6 /indra/llcommon/llavatarname.h
parent2b4d3fff706d098076bb6c0a7dce2ca35b83300f (diff)
parentcb91708332b8b8ddfe27808602ec5f43f11c24c2 (diff)
merge changes for 3.7.3-release
Diffstat (limited to 'indra/llcommon/llavatarname.h')
-rwxr-xr-xindra/llcommon/llavatarname.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcommon/llavatarname.h b/indra/llcommon/llavatarname.h
index 5d2fccc5ba..1cb3ae421f 100755
--- a/indra/llcommon/llavatarname.h
+++ b/indra/llcommon/llavatarname.h
@@ -54,6 +54,9 @@ public:
static void setUseDisplayNames(bool use);
static bool useDisplayNames();
+ static void setUseUsernames(bool use);
+ static bool useUsernames();
+
// A name object is valid if not temporary and not yet expired (default is expiration not checked)
bool isValidName(F64 max_unrefreshed = 0.0f) const { return !mIsTemporaryName && (mExpires >= max_unrefreshed); }
@@ -128,6 +131,9 @@ private:
// Global flag indicating if display name should be used or not
// This will affect the output of the high level "get" methods
static bool sUseDisplayNames;
+
+ // Flag indicating if username should be shown after display name or not
+ static bool sUseUsernames;
};
#endif