summaryrefslogtreecommitdiff
path: root/indra/newview/llfavoritesbar.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-04-03 14:43:49 -0700
committerRider Linden <rider@lindenlab.com>2015-04-03 14:43:49 -0700
commit2de894bdc785c8d68dc4197b68aa9305450999f7 (patch)
treeddeae08bcfd7f848c6d81e5058146e64108afbcd /indra/newview/llfavoritesbar.h
parent17641c8427d05c4cde1fadd2ca059264d89bc818 (diff)
parentab30a44d9de332466841bfb40aa494ff0db1089a (diff)
Merged lindenlab/viewer-tools-update into default
Diffstat (limited to 'indra/newview/llfavoritesbar.h')
-rwxr-xr-xindra/newview/llfavoritesbar.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/indra/newview/llfavoritesbar.h b/indra/newview/llfavoritesbar.h
index 5ca1d3e8ed..a370724947 100755
--- a/indra/newview/llfavoritesbar.h
+++ b/indra/newview/llfavoritesbar.h
@@ -162,19 +162,7 @@ private:
boost::signals2::connection mEndDragConnection;
};
-/*
-class AddFavoriteLandmarkCallback : public LLInventoryCallback
-{
-public:
- AddFavoriteLandmarkCallback() : mTargetLandmarkId(LLUUID::null) {}
- void setTargetLandmarkId(const LLUUID& target_uuid) { mTargetLandmarkId = target_uuid; }
-
-private:
- void fire(const LLUUID& inv_item);
- LLUUID mTargetLandmarkId;
-};
-*/
/**
* Class to store sorting order of favorites landmarks in a local file. EXT-3985.
* It replaced previously implemented solution to store sort index in landmark's name as a "<N>@" prefix.
@@ -222,14 +210,16 @@ private:
friend class LLSingleton<LLFavoritesOrderStorage>;
LLFavoritesOrderStorage() : mIsDirty(false) { load(); }
~LLFavoritesOrderStorage() { save(); }
-
+
/**
* Removes sort indexes for items which are not in Favorites bar for now.
*/
void cleanup();
const static std::string SORTING_DATA_FILE_NAME;
-
+ std::string getSavedOrderFileName();
+ static std::string getStoredFavoritesFilename();
+
void load();
void save();