diff options
Diffstat (limited to 'linden/indra/newview/llpanelpick.h')
-rw-r--r-- | linden/indra/newview/llpanelpick.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelpick.h b/linden/indra/newview/llpanelpick.h index 01bf788..21072e4 100644 --- a/linden/indra/newview/llpanelpick.h +++ b/linden/indra/newview/llpanelpick.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2004-2007, Linden Research, Inc. | 5 | * Copyright (c) 2004-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -58,13 +59,15 @@ public: | |||
58 | 59 | ||
59 | /*virtual*/ void draw(); | 60 | /*virtual*/ void draw(); |
60 | 61 | ||
61 | void refresh(); | 62 | /*virtual*/ void refresh(); |
62 | 63 | ||
63 | // Setup a new pick, including creating an id, giving a sane | 64 | // Setup a new pick, including creating an id, giving a sane |
64 | // initial position, etc. | 65 | // initial position, etc. |
65 | void initNewPick(); | 66 | void initNewPick(); |
66 | 67 | ||
67 | void setPickID(const LLUUID& id); | 68 | // We need to know the creator id so the database knows which partition |
69 | // to query for the pick data. | ||
70 | void setPickID(const LLUUID& pick_id, const LLUUID& creator_id); | ||
68 | 71 | ||
69 | // Schedules the panel to request data | 72 | // Schedules the panel to request data |
70 | // from the server next time it is drawn. | 73 | // from the server next time it is drawn. |
@@ -72,6 +75,7 @@ public: | |||
72 | 75 | ||
73 | std::string getPickName(); | 76 | std::string getPickName(); |
74 | const LLUUID& getPickID() const { return mPickID; } | 77 | const LLUUID& getPickID() const { return mPickID; } |
78 | const LLUUID& getPickCreatorID() const { return mCreatorID; } | ||
75 | 79 | ||
76 | void sendPickInfoRequest(); | 80 | void sendPickInfoRequest(); |
77 | void sendPickInfoUpdate(); | 81 | void sendPickInfoUpdate(); |
@@ -112,7 +116,8 @@ protected: | |||
112 | LLCheckBoxCtrl* mEnabledCheck; | 116 | LLCheckBoxCtrl* mEnabledCheck; |
113 | LLButton* mSetBtn; | 117 | LLButton* mSetBtn; |
114 | 118 | ||
115 | static LLLinkedList<LLPanelPick> sAllPanels; | 119 | typedef std::list<LLPanelPick*> panel_list_t; |
120 | static panel_list_t sAllPanels; | ||
116 | }; | 121 | }; |
117 | 122 | ||
118 | #endif // LL_LLPANELPICK_H | 123 | #endif // LL_LLPANELPICK_H |