summaryrefslogtreecommitdiff
path: root/indra/llui/llemojihelper.h
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-10-10 17:06:08 +0300
committerGitHub <noreply@github.com>2024-10-10 17:06:08 +0300
commitd69ad11a8d0d1a3b02ff75fdec7e2b230a526abc (patch)
treede6035b1b6379d6ef79260e3ce8c9e5cfb75767d /indra/llui/llemojihelper.h
parent3091985d31e1ccf9aba159dec4f2d5ea31723ce0 (diff)
parentd5218c05219a6bddb63d752a9df3b5d6fe1e3cf7 (diff)
Merge branch 'develop' into maxim/lua-nearby-avatars
Diffstat (limited to 'indra/llui/llemojihelper.h')
-rw-r--r--indra/llui/llemojihelper.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llemojihelper.h b/indra/llui/llemojihelper.h
index 2834b06061..26840eef94 100644
--- a/indra/llui/llemojihelper.h
+++ b/indra/llui/llemojihelper.h
@@ -51,16 +51,23 @@ public:
// Eventing
bool handleKey(const LLUICtrl* ctrl_p, KEY key, MASK mask);
void onCommitEmoji(llwchar emoji);
+ void onCloseHelper(LLUICtrl* ctrl, const LLSD& param);
+
+ typedef boost::signals2::signal<void(LLUICtrl* ctrl, const LLSD& param)> commit_signal_t;
+ boost::signals2::connection setCloseCallback(const commit_signal_t::slot_type& cb);
protected:
LLUICtrl* getHostCtrl() const { return mHostHandle.get(); }
void setHostCtrl(LLUICtrl* hostctrl_p);
private:
+ commit_signal_t mCloseSignal;
+
LLHandle<LLUICtrl> mHostHandle;
LLHandle<LLFloater> mHelperHandle;
boost::signals2::connection mHostCtrlFocusLostConn;
boost::signals2::connection mHelperCommitConn;
+ boost::signals2::connection mHelperCloseConn;
std::function<void(llwchar)> mEmojiCommitCb;
bool mIsHideDisabled;
};