summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplayname.h
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-10-08 16:56:02 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-10-08 16:56:02 -0700
commit7ffc9b06c820d70724af2aef361ff9964e584e73 (patch)
tree0de4ae5f3312aff15270e9fd46bce080e05718db /indra/newview/llviewerdisplayname.h
parent3abd522936a7a82b2ab76f5ec27bcfc99deb55f0 (diff)
Created a floater for setting display name
Diffstat (limited to 'indra/newview/llviewerdisplayname.h')
-rw-r--r--indra/newview/llviewerdisplayname.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llviewerdisplayname.h b/indra/newview/llviewerdisplayname.h
index 922263eb12..16d59ae43b 100644
--- a/indra/newview/llviewerdisplayname.h
+++ b/indra/newview/llviewerdisplayname.h
@@ -38,11 +38,16 @@ namespace LLViewerDisplayName
void (bool success, const std::string& reason, const LLSD& content)>
set_name_signal_t;
typedef set_name_signal_t::slot_type set_name_slot_t;
+
+ typedef boost::signals2::signal<void (void)> name_changed_signal_t;
+ typedef name_changed_signal_t::slot_type name_changed_slot_t;
// Sends an update to the server to change a display name
// and call back when done. May not succeed due to service
// unavailable or name not available.
- void set(const std::string& display_name, const set_name_slot_t& slot);
+ void set(const std::string& display_name, const set_name_slot_t& slot);
+
+ void addNameChangedCallback(const name_changed_signal_t::slot_type& cb);
}
#endif // LLVIEWERDISPLAYNAME_H