From ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Thu, 30 Apr 2009 13:04:20 -0500 Subject: Second Life viewer sources 1.23.0-RC --- linden/indra/newview/llpanelclassified.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'linden/indra/newview/llpanelclassified.h') diff --git a/linden/indra/newview/llpanelclassified.h b/linden/indra/newview/llpanelclassified.h index ff5a253..68a5a33 100644 --- a/linden/indra/newview/llpanelclassified.h +++ b/linden/indra/newview/llpanelclassified.h @@ -17,7 +17,8 @@ * There are special exceptions to the terms and conditions of the GPL as * it is applied to this Source Code. View the full text of the exception * in the file doc/FLOSS-exception.txt in this software distribution, or - * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception + * online at + * http://secondlifegrid.net/programs/open_source/licensing/flossexception * * By copying, modifying or distributing this software, you acknowledge * that you have read and understood your obligations described above, @@ -100,17 +101,15 @@ public: static void processClassifiedInfoReply(LLMessageSystem* msg, void**); // Confirmation dialogs flow in this order - static void callbackConfirmMature(S32 option, void* data); - void confirmMature(S32 option); + bool confirmMature(const LLSD& notification, const LLSD& response); void gotMature(); static void callbackGotPriceForListing(S32 option, std::string text, void* data); - static void callbackConfirmPublish(S32 option, void* data); - void confirmPublish(S32 option); + bool confirmPublish(const LLSD& notification, const LLSD& response); void sendClassifiedClickMessage(const std::string& type); protected: - static void saveCallback(S32 option, void* data); + bool saveCallback(const LLSD& notification, const LLSD& response); static void onClickUpdate(void* data); static void onClickTeleport(void* data); @@ -121,6 +120,8 @@ protected: static void focusReceived(LLFocusableElement* ctrl, void* data); static void onCommitAny(LLUICtrl* ctrl, void* data); + void constrainAccessCombo(); // Force AO and PG regions to proper classified access + BOOL checkDirty(); // Update and return mDirty protected: -- cgit v1.1