blob: 15e900b601f4e27d3aea0b76ea671cb0d0338372 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
|