summaryrefslogtreecommitdiff
path: root/indra/llmessage/llavatarnamecache.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-02-22 16:41:56 -0800
committerJames Cook <james@lindenlab.com>2010-02-22 16:41:56 -0800
commit3791745054546dbebb3373371aaf7a0ddad608a3 (patch)
treeae5225cf9265eac3262c518dc508f937f09e75c7 /indra/llmessage/llavatarnamecache.h
parentd3582dc3ffb1ecb8a8888d17c4196c1c446a9a9a (diff)
Simple button to change your display name
Talks to web service so other people can see the change, but for now they need to relog or toggle display names on/off to clear their cache.
Diffstat (limited to 'indra/llmessage/llavatarnamecache.h')
-rw-r--r--indra/llmessage/llavatarnamecache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llmessage/llavatarnamecache.h b/indra/llmessage/llavatarnamecache.h
index 9f0472095d..369c8f8fff 100644
--- a/indra/llmessage/llavatarnamecache.h
+++ b/indra/llmessage/llavatarnamecache.h
@@ -56,6 +56,9 @@ namespace LLAvatarNameCache
typedef void (*name_cache_callback_t)(const LLUUID& agent_id, const LLAvatarName& av_name);
void get(const LLUUID& agent_id, name_cache_callback_t callback);
+ // Sends an update to the server
+ void setDisplayName(const LLUUID& agent_id, const std::string& display_name);
+
// HACK: turn display names on and off
void toggleDisplayNames();
bool useDisplayNames();