diff options
| author | Baker Linden <baker@lindenlab.com> | 2014-03-11 16:32:23 -0700 |
|---|---|---|
| committer | Baker Linden <baker@lindenlab.com> | 2014-03-11 16:32:23 -0700 |
| commit | 6137e120d1836ea37ea8f5f6723d86db94f31bd8 (patch) | |
| tree | 16341e6203400d52e89189d96206c26e899dbe44 /indra/llcommon/llavatarname.h | |
| parent | b0c1dd4790847364ebcab1cb1d4103500f64072e (diff) | |
| parent | cb91708332b8b8ddfe27808602ec5f43f11c24c2 (diff) | |
3.7.4. merge
Diffstat (limited to 'indra/llcommon/llavatarname.h')
| -rwxr-xr-x | indra/llcommon/llavatarname.h | 6 |
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 |
