summaryrefslogtreecommitdiff
path: root/indra/newview/lllandmarkactions.h
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-11-23 15:53:49 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2009-11-23 15:53:49 +0000
commita434e32097ca59c19a7c38aeae6b1991272569df (patch)
tree34237f1926aee21a80f977e5b363a7c0a8592b21 /indra/newview/lllandmarkactions.h
parent21723e85677c69c4f78946d971bbf0e0c9cd37e5 (diff)
parent1b07c1d7fb5b6d3ce15083bc3dbb65a3f0ac8006 (diff)
merge.
Diffstat (limited to 'indra/newview/lllandmarkactions.h')
-rw-r--r--indra/newview/lllandmarkactions.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/lllandmarkactions.h b/indra/newview/lllandmarkactions.h
index c65b831f3e..987caf0936 100644
--- a/indra/newview/lllandmarkactions.h
+++ b/indra/newview/lllandmarkactions.h
@@ -35,7 +35,10 @@
#include "llinventorymodel.h"
+#include "lllandmarklist.h"
+
class LLLandmark;
+
/**
* @brief Provides helper functions to manage landmarks
*/
@@ -112,10 +115,11 @@ public:
/**
* @brief Retrieve a landmark from gLandmarkList by inventory item's id
+ * If a landmark is not currently in the gLandmarkList a callback "cb" is called when it is loaded.
*
* @return pointer to loaded landmark from gLandmarkList or NULL if landmark does not exist or wasn't loaded.
*/
- static LLLandmark* getLandmark(const LLUUID& landmarkInventoryItemID);
+ static LLLandmark* getLandmark(const LLUUID& landmarkInventoryItemID, LLLandmarkList::loaded_callback_t cb = NULL);
/**
* @brief Performs standard action of copying of SLURL from landmark to user's clipboard.