aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterregioninfo.h
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-30 13:04:20 -0500
committerJacek Antonelli2009-04-30 13:07:16 -0500
commitca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch)
tree8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/newview/llfloaterregioninfo.h
parentSecond Life viewer sources 1.22.11 (diff)
downloadmeta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz
Second Life viewer sources 1.23.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterregioninfo.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/linden/indra/newview/llfloaterregioninfo.h b/linden/indra/newview/llfloaterregioninfo.h
index 41a94ce..806d1f5 100644
--- a/linden/indra/newview/llfloaterregioninfo.h
+++ b/linden/indra/newview/llfloaterregioninfo.h
@@ -18,7 +18,8 @@
18 * There are special exceptions to the terms and conditions of the GPL as 18 * There are special exceptions to the terms and conditions of the GPL as
19 * it is applied to this Source Code. View the full text of the exception 19 * it is applied to this Source Code. View the full text of the exception
20 * in the file doc/FLOSS-exception.txt in this software distribution, or 20 * in the file doc/FLOSS-exception.txt in this software distribution, or
21 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 21 * online at
22 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
22 * 23 *
23 * By copying, modifying or distributing this software, you acknowledge 24 * By copying, modifying or distributing this software, you acknowledge
24 * that you have read and understood your obligations described above, 25 * that you have read and understood your obligations described above,
@@ -161,9 +162,9 @@ protected:
161 static void onClickKick(void* userdata); 162 static void onClickKick(void* userdata);
162 static void onKickCommit(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* userdata); 163 static void onKickCommit(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* userdata);
163 static void onClickKickAll(void* userdata); 164 static void onClickKickAll(void* userdata);
164 static void onKickAllCommit(S32 option, void* userdata); 165 bool onKickAllCommit(const LLSD& notification, const LLSD& response);
165 static void onClickMessage(void* userdata); 166 static void onClickMessage(void* userdata);
166 static void onMessageCommit(S32 option, const std::string& text, void* userdata); 167 bool onMessageCommit(const LLSD& notification, const LLSD& response);
167 static void onClickManageTelehub(void* data); 168 static void onClickManageTelehub(void* data);
168}; 169};
169 170
@@ -186,11 +187,11 @@ protected:
186 static void onClickChooseAvatar(void*); 187 static void onClickChooseAvatar(void*);
187 static void callbackAvatarID(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* data); 188 static void callbackAvatarID(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* data);
188 static void onClickReturn(void *); 189 static void onClickReturn(void *);
189 static void callbackReturn(S32 option, void*); 190 bool callbackReturn(const LLSD& notification, const LLSD& response);
190 static void onClickTopColliders(void*); 191 static void onClickTopColliders(void*);
191 static void onClickTopScripts(void*); 192 static void onClickTopScripts(void*);
192 static void onClickRestart(void* data); 193 static void onClickRestart(void* data);
193 static void callbackRestart(S32 option, void* data); 194 bool callbackRestart(const LLSD& notification, const LLSD& response);
194 static void onClickCancelRestart(void* data); 195 static void onClickCancelRestart(void* data);
195 196
196private: 197private:
@@ -240,7 +241,7 @@ protected:
240 static void onClickDownloadRaw(void*); 241 static void onClickDownloadRaw(void*);
241 static void onClickUploadRaw(void*); 242 static void onClickUploadRaw(void*);
242 static void onClickBakeTerrain(void*); 243 static void onClickBakeTerrain(void*);
243 static void callbackBakeTerrain(S32 option, void* data); 244 bool callbackBakeTerrain(const LLSD& notification, const LLSD& response);
244}; 245};
245 246
246///////////////////////////////////////////////////////////////////////////// 247/////////////////////////////////////////////////////////////////////////////
@@ -269,27 +270,27 @@ public:
269 static void onClickKickUser(void* userdata); 270 static void onClickKickUser(void* userdata);
270 271
271 // Group picker callback is different, can't use core methods below 272 // Group picker callback is different, can't use core methods below
272 static void addAllowedGroup(S32 option, void* data); 273 bool addAllowedGroup(const LLSD& notification, const LLSD& response);
273 static void addAllowedGroup2(LLUUID id, void* data); 274 static void addAllowedGroup2(LLUUID id, void* data);
274 275
275 // Core methods for all above add/remove button clicks 276 // Core methods for all above add/remove button clicks
276 static void accessAddCore(U32 operation_flag, const std::string& dialog_name); 277 static void accessAddCore(U32 operation_flag, const std::string& dialog_name);
277 static void accessAddCore2(S32 option, void* data); 278 static bool accessAddCore2(const LLSD& notification, const LLSD& response);
278 static void accessAddCore3(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* data); 279 static void accessAddCore3(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* data);
279 280
280 static void accessRemoveCore(U32 operation_flag, const std::string& dialog_name, const std::string& list_ctrl_name); 281 static void accessRemoveCore(U32 operation_flag, const std::string& dialog_name, const std::string& list_ctrl_name);
281 static void accessRemoveCore2(S32 option, void* data); 282 static bool accessRemoveCore2(const LLSD& notification, const LLSD& response);
282 283
283 // used for both add and remove operations 284 // used for both add and remove operations
284 static void accessCoreConfirm(S32 option, void* data); 285 static bool accessCoreConfirm(const LLSD& notification, const LLSD& response);
285 static void kickUserConfirm(S32 option, void* userdata); 286 bool kickUserConfirm(const LLSD& notification, const LLSD& response);
286 287
287 // Send the actual EstateOwnerRequest "estateaccessdelta" message 288 // Send the actual EstateOwnerRequest "estateaccessdelta" message
288 static void sendEstateAccessDelta(U32 flags, const LLUUID& agent_id); 289 static void sendEstateAccessDelta(U32 flags, const LLUUID& agent_id);
289 290
290 static void onKickUserCommit(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* userdata); 291 static void onKickUserCommit(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* userdata);
291 static void onClickMessageEstate(void* data); 292 static void onClickMessageEstate(void* data);
292 static void onMessageCommit(S32 option, const std::string& text, void* data); 293 bool onMessageCommit(const LLSD& notification, const LLSD& response);
293 294
294 LLPanelEstateInfo(); 295 LLPanelEstateInfo();
295 ~LLPanelEstateInfo() {} 296 ~LLPanelEstateInfo() {}
@@ -344,7 +345,7 @@ public:
344protected: 345protected:
345 virtual BOOL sendUpdate(); 346 virtual BOOL sendUpdate();
346 // confirmation dialog callback 347 // confirmation dialog callback
347 static void callbackChangeLindenEstate(S32 opt, void* data); 348 bool callbackChangeLindenEstate(const LLSD& notification, const LLSD& response);
348 349
349 void commitEstateInfoDataserver(); 350 void commitEstateInfoDataserver();
350 bool commitEstateInfoCaps(); 351 bool commitEstateInfoCaps();
@@ -377,9 +378,9 @@ public:
377 BOOL drop, EDragAndDropType cargo_type, 378 BOOL drop, EDragAndDropType cargo_type,
378 void *cargo_data, EAcceptance *accept, 379 void *cargo_data, EAcceptance *accept,
379 std::string& tooltip_msg); 380 std::string& tooltip_msg);
380 static void confirmChangeCovenantCallback(S32 option, void* userdata); 381 static bool confirmChangeCovenantCallback(const LLSD& notification, const LLSD& response);
381 static void resetCovenantID(void* userdata); 382 static void resetCovenantID(void* userdata);
382 static void confirmResetCovenantCallback(S32 option, void* userdata); 383 static bool confirmResetCovenantCallback(const LLSD& notification, const LLSD& response);
383 void sendChangeCovenantID(const LLUUID &asset_id); 384 void sendChangeCovenantID(const LLUUID &asset_id);
384 void loadInvItem(LLInventoryItem *itemp); 385 void loadInvItem(LLInventoryItem *itemp);
385 static void onLoadComplete(LLVFS *vfs, 386 static void onLoadComplete(LLVFS *vfs,