From 6cf5912fd0339d09d9ac441d02c2dade824802ac Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Sat, 24 Jan 2015 16:50:56 -0800 Subject: DD-306 : Suppress no issue listings from audit listing dump, add no error message when no error, disable some right click menu items in multiselection cases --- indra/newview/llfloatermarketplacelistings.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'indra/newview/llfloatermarketplacelistings.h') diff --git a/indra/newview/llfloatermarketplacelistings.h b/indra/newview/llfloatermarketplacelistings.h index c5c8043593..9249347877 100755 --- a/indra/newview/llfloatermarketplacelistings.h +++ b/indra/newview/llfloatermarketplacelistings.h @@ -179,10 +179,24 @@ public: virtual void draw(); virtual void onOpen(const LLSD& key); - void appendMessage(std::string& message, LLError::ELevel log_level); + void clearMessages(); + void appendMessage(std::string& message, S32 depth, LLError::ELevel log_level); static void onOK( void* userdata ); private: + struct Message { + LLError::ELevel mErrorLevel; + std::string mMessage; + }; + typedef std::vector message_list_t; + + void handleCurrentListing(); + + message_list_t mCurrentListingMessages; + LLError::ELevel mCurrentListingErrorLevel; + + message_list_t mMessages; + LLTextEditor* mEditor; }; -- cgit v1.2.3