summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelplacestab.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-02-22 21:34:17 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-02-24 01:40:52 +0200
commit59f61e2ff2f6cedb480d691f130a8d5e6b16c302 (patch)
tree651439a7dacc137af3b31711702bd3bf34c5b3b7 /indra/newview/llpanelplacestab.h
parent5bdc96784c696f7a36aab1e18e70dafbe4a27d73 (diff)
SL-14842 Apply toolstrip layout to Places floater Part #1
Menus
Diffstat (limited to 'indra/newview/llpanelplacestab.h')
-rw-r--r--indra/newview/llpanelplacestab.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llpanelplacestab.h b/indra/newview/llpanelplacestab.h
index 367ce46e2e..6c9a6e9da7 100644
--- a/indra/newview/llpanelplacestab.h
+++ b/indra/newview/llpanelplacestab.h
@@ -30,6 +30,7 @@
#include "llpanel.h"
class LLPanelPlaces;
+class LLToggleableMenu;
class LLPanelPlacesTab : public LLPanel
{
@@ -42,8 +43,19 @@ public:
virtual void onShowOnMap() = 0;
virtual void onShowProfile() = 0;
virtual void onTeleport() = 0;
+ virtual void onRemoveSelected() = 0;
virtual bool isSingleItemSelected() = 0;
+ // returns menu for current selection
+ virtual LLToggleableMenu* getSelectionMenu() = 0;
+ virtual LLToggleableMenu* getSortingMenu() = 0;
+ virtual LLToggleableMenu* getCreateMenu() = 0;
+
+ /**
+ * Processes drag-n-drop of the Landmarks and folders into trash button.
+ */
+ virtual bool handleDragAndDropToTrash(BOOL drop, EDragAndDropType cargo_type, void* cargo_data, EAcceptance* accept) = 0;
+
bool isTabVisible(); // Check if parent TabContainer is visible.
void setPanelPlacesButtons(LLPanelPlaces* panel);