summaryrefslogtreecommitdiff
path: root/indra/newview/lllandmarklist.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
committerJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
commit420b91db29485df39fd6e724e782c449158811cb (patch)
treeb471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/lllandmarklist.h
Print done when done.
Diffstat (limited to 'indra/newview/lllandmarklist.h')
-rw-r--r--indra/newview/lllandmarklist.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/indra/newview/lllandmarklist.h b/indra/newview/lllandmarklist.h
new file mode 100644
index 0000000000..15e900b601
--- /dev/null
+++ b/indra/newview/lllandmarklist.h
@@ -0,0 +1,51 @@
+/**
+ * @file lllandmarklist.h
+ * @brief Landmark asset list class
+ *
+ * Copyright (c) 2002-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+#ifndef LL_LLLANDMARKLIST_H
+#define LL_LLLANDMARKLIST_H
+
+#include <map>
+#include "lllandmark.h"
+#include "lluuid.h"
+#include "llassetstorage.h"
+
+class LLMessageSystem;
+class LLLineEditor;
+class LLInventoryItem;
+
+class LLLandmarkList
+{
+public:
+ LLLandmarkList() {}
+ ~LLLandmarkList();
+
+ //S32 getLength() { return mList.getLength(); }
+ //const LLLandmark* getFirst() { return mList.getFirstData(); }
+ //const LLLandmark* getNext() { return mList.getNextData(); }
+
+ BOOL assetExists(const LLUUID& asset_uuid);
+ LLLandmark* getAsset(const LLUUID& asset_uuid);
+ static void processGetAssetReply(
+ LLVFS *vfs,
+ const LLUUID& uuid,
+ LLAssetType::EType type,
+ void* user_data,
+ S32 status);
+
+protected:
+ typedef std::map<LLUUID, LLLandmark*> landmark_list_t;
+ landmark_list_t mList;
+
+ typedef std::set<LLUUID> landmark_bad_list_t;
+ landmark_bad_list_t mBadList;
+};
+
+
+extern LLLandmarkList gLandmarkList;
+
+#endif // LL_LLLANDMARKLIST_H