summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterregioninfo.h
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2018-07-24 23:44:24 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2018-07-24 23:44:24 +0300
commit7cc989d83959a081821f57c2e960ea117bcbf091 (patch)
tree53662d19a3a826691ba54f0e56a18091a70bf41f /indra/newview/llfloaterregioninfo.h
parent5b9ab1b7bfe4f7e0612784d566afc936995abc53 (diff)
MAINT-8880 Added god mode callback/update to the Region/Estate floater
Diffstat (limited to 'indra/newview/llfloaterregioninfo.h')
-rw-r--r--indra/newview/llfloaterregioninfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llfloaterregioninfo.h b/indra/newview/llfloaterregioninfo.h
index 70971c119f..2732b3e5f9 100644
--- a/indra/newview/llfloaterregioninfo.h
+++ b/indra/newview/llfloaterregioninfo.h
@@ -29,6 +29,7 @@
#define LL_LLFLOATERREGIONINFO_H
#include <vector>
+#include "llagent.h"
#include "llassettype.h"
#include "llfloater.h"
#include "llhost.h"
@@ -163,8 +164,13 @@ protected:
const LLUUID& invoice,
const strings_t& strings);
+ void onGodLevelChange(U8 god_level);
+
// member data
LLHost mHost;
+
+private:
+ LLAgent::god_level_change_slot_t mGodLevelChangeSlot;
};
/////////////////////////////////////////////////////////////////////////////
@@ -499,6 +505,8 @@ public:
void setPendingUpdate(bool pending) { mPendingUpdate = pending; }
bool getPendingUpdate() { return mPendingUpdate; }
+ virtual bool refreshFromRegion(LLViewerRegion* region);
+
private:
void onClickAddAllowedAgent();
void onClickRemoveAllowedAgent();