summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarkinfo.h
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-03-23 17:38:22 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-03-23 17:38:22 +0200
commitd43d8bc68b4cbe40e2fb39dea0530a152463d1f9 (patch)
treeb2a0eef9e2067b31c3a302289a9881bdcb261e6c /indra/newview/llpanellandmarkinfo.h
parent38db12920c92b00e11aa533980790e8572ba6908 (diff)
SL-14900 new Landmark creation flow
Diffstat (limited to 'indra/newview/llpanellandmarkinfo.h')
-rw-r--r--indra/newview/llpanellandmarkinfo.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llpanellandmarkinfo.h b/indra/newview/llpanellandmarkinfo.h
index 9a2e0c8f59..f727f286b5 100644
--- a/indra/newview/llpanellandmarkinfo.h
+++ b/indra/newview/llpanellandmarkinfo.h
@@ -28,6 +28,7 @@
#define LL_LLPANELLANDMARKINFO_H
#include "llpanelplaceinfo.h"
+#include "llinventorymodel.h"
class LLComboBox;
class LLLineEditor;
@@ -63,7 +64,9 @@ public:
// Select current landmark folder in combobox.
BOOL setLandmarkFolder(const LLUUID& id);
+ typedef std::vector<LLPointer<LLViewerInventoryCategory> > cat_array_t;
static std::string getFullFolderName(const LLViewerInventoryCategory* cat);
+ static void collectLandmarkFolders(LLInventoryModel::cat_array_t& cats);
private:
// Create a landmark for the current location
@@ -85,4 +88,17 @@ private:
LLComboBox* mFolderCombo;
};
+class LLUpdateLandmarkParent : public LLInventoryCallback
+{
+public:
+ LLUpdateLandmarkParent(LLPointer<LLViewerInventoryItem> item, LLUUID new_parent) :
+ mItem(item),
+ mNewParentId(new_parent)
+ {};
+ /* virtual */ void fire(const LLUUID& inv_item_id);
+
+private:
+ LLPointer<LLViewerInventoryItem> mItem;
+ LLUUID mNewParentId;
+};
#endif // LL_LLPANELLANDMARKINFO_H