summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-06-18 22:23:30 -0400
committerOz Linden <oz@lindenlab.com>2012-06-18 22:23:30 -0400
commitd7400ae60c0453e111357abfb09d8308adf8b721 (patch)
treecfbbc175c4df5d0929ad923c5c52489b8d87fb75 /indra/newview/llagent.h
parentd500379cea865e4a6958eee82b5615ace61036c4 (diff)
parent9cac312f57391792e9fce380c2c38ae4060ae1d7 (diff)
merge to pathfinding development branch
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r--indra/newview/llagent.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h
index 740770bbdf..72f695d917 100644
--- a/indra/newview/llagent.h
+++ b/indra/newview/llagent.h
@@ -631,6 +631,16 @@ public:
void requestEnterGodMode();
void requestLeaveGodMode();
+ typedef boost::function<void (U8)> god_level_change_callback_t;
+ typedef boost::signals2::signal<void (U8)> god_level_change_signal_t;
+ typedef boost::signals2::connection god_level_change_slot_t;
+
+ god_level_change_slot_t registerGodLevelChanageListener(god_level_change_callback_t pGodLevelChangeCallback);
+
+private:
+ god_level_change_signal_t mGodLevelChangeSignal;
+
+
//--------------------------------------------------------------------
// Maturity
//--------------------------------------------------------------------