summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpicks.h
diff options
context:
space:
mode:
authorLynx Linden <lynx@lindenlab.com>2009-12-11 20:14:23 +0000
committerLynx Linden <lynx@lindenlab.com>2009-12-11 20:14:23 +0000
commit7c34cd8eb670ad559f4d1af58296ae57578c8e47 (patch)
tree9f016bee88f73a57ab77f013899079209aa9e4bc /indra/newview/llpanelpicks.h
parenteda8634b17133df5f3104d96ad56d3626a90aad8 (diff)
EXT-3408: Added support for secondlife:///app/classified SLurls
I added a handler for this SLurl type that displays the classifieds details in the side tray. In order to do this, you have to open the profile of the classified's creator first. Which means that I have to ask the server for the classified's description in order to get the creator id. This is done with an LLAvatarPropertiesObserver observer. One complication here is that this observer takes the avatar id as a parameter, but we don't know that (that's what we're trying to find out) - so I made it possible to pass in a null avatar id - it's only used to filter out non-interested observers in the notifyObserver() call.
Diffstat (limited to 'indra/newview/llpanelpicks.h')
-rw-r--r--indra/newview/llpanelpicks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanelpicks.h b/indra/newview/llpanelpicks.h
index 21794d56b2..893a0c53a3 100644
--- a/indra/newview/llpanelpicks.h
+++ b/indra/newview/llpanelpicks.h
@@ -86,6 +86,9 @@ public:
// parent panels failed to work (picks related code was in my profile panel)
void setProfilePanel(LLPanelProfile* profile_panel);
+ // display the info panel for the given classified
+ void openClassifiedInfo(LLAvatarClassifiedInfo *c_info);
+
protected:
/*virtual*/void updateButtons();