summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelplaces.h
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2009-07-30 23:22:41 +0000
committerSteven Bennetts <steve@lindenlab.com>2009-07-30 23:22:41 +0000
commite97f7728a90dd66014f6b3f0cd5e8d4c71f48691 (patch)
tree4be178df6b50a3395105cdd3ac0044d6467a9fa3 /indra/newview/llpanelplaces.h
parentd5aa10143a0e6457b3326ba839c81b7c956a015e (diff)
merge https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0/indra@1170 https://svn.aws.productengine.com/secondlife/pe/stable-1/indra@1187 -> viewer-2.0.0-3
Diffstat (limited to 'indra/newview/llpanelplaces.h')
-rw-r--r--indra/newview/llpanelplaces.h55
1 files changed, 34 insertions, 21 deletions
diff --git a/indra/newview/llpanelplaces.h b/indra/newview/llpanelplaces.h
index e2ba4f39cd..c100ace8cc 100644
--- a/indra/newview/llpanelplaces.h
+++ b/indra/newview/llpanelplaces.h
@@ -41,6 +41,8 @@
#include "llinventorymodel.h"
#include "llpanelplaceinfo.h"
+class LLInventoryItem;
+class LLLandmark;
class LLPanelPlacesTab;
class LLFilterEditor;
class LLTabContainer;
@@ -55,38 +57,49 @@ public:
/*virtual*/ void changed(U32 mask);
/*virtual*/ void onOpen(const LLSD& key);
+ void setItem(LLInventoryItem* item);
+
+private:
+ void onLandmarkLoaded(LLLandmark* landmark);
void onFilterEdit(const std::string& search_string);
void onTabSelected();
+
//void onAddLandmarkButtonClicked();
//void onCopySLURLButtonClicked();
- void onShareButtonClicked();
+ //void onShareButtonClicked();
void onTeleportButtonClicked();
void onShowOnMapButtonClicked();
void onBackButtonClicked();
+
void toggleMediaPanel();
void togglePlaceInfoPanel(BOOL visible);
+
void onAgentParcelChange();
+ void updateVerbs();
-private:
- LLFilterEditor* mFilterEditor;
- LLPanelPlacesTab* mActivePanel;
- LLTabContainer* mTabContainer;
- LLPanelPlaceInfo* mPlaceInfo;
- std::string mFilterSubString;
-
- // Place information type currently shown in Information panel
- std::string mPlaceInfoType;
-
- // Helper class to delay the coordinates update
- // when agent changes parcel
- class LLParcelUpdateTimer : public LLEventTimer
- {
- public:
- LLParcelUpdateTimer(F32 period);
- virtual ~LLParcelUpdateTimer() {};
-
- virtual BOOL tick();
- };
+ LLFilterEditor* mFilterEditor;
+ LLPanelPlacesTab* mActivePanel;
+ LLTabContainer* mTabContainer;
+ LLPanelPlaceInfo* mPlaceInfo;
+
+ //LLButton* mShareBtn;
+ LLButton* mTeleportBtn;
+ LLButton* mShowOnMapBtn;
+ LLButton* mOverflowBtn;
+
+ // Pointer to a landmark item or to a linked landmark
+ LLPointer<LLInventoryItem> mItem;
+
+ // Absolute position of the location for teleport, may not
+ // be available (hence zero)
+ LLVector3d mPosGlobal;
+
+ // Search string for filtering landmarks and teleport
+ // history locations
+ std::string mFilterSubString;
+
+ // Information type currently shown in Place Information panel
+ std::string mPlaceInfoType;
};
#endif //LL_LLPANELPLACES_H