aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llworldmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llworldmap.h')
-rw-r--r--linden/indra/newview/llworldmap.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/linden/indra/newview/llworldmap.h b/linden/indra/newview/llworldmap.h
index bc8d653..041dfc0 100644
--- a/linden/indra/newview/llworldmap.h
+++ b/linden/indra/newview/llworldmap.h
@@ -110,7 +110,7 @@ struct LLWorldMapLayer
110}; 110};
111 111
112 112
113class LLWorldMap 113class LLWorldMap : public LLSingleton<LLWorldMap>
114{ 114{
115public: 115public:
116 typedef void(*url_callback_t)(U64 region_handle, const std::string& url, const LLUUID& snapshot_id, bool teleport); 116 typedef void(*url_callback_t)(U64 region_handle, const std::string& url, const LLUUID& snapshot_id, bool teleport);
@@ -153,6 +153,10 @@ public:
153 url_callback_t callback, 153 url_callback_t callback,
154 const std::string& callback_url, 154 const std::string& callback_url,
155 bool teleport); 155 bool teleport);
156 void sendHandleRegionRequest(U64 region_handle,
157 url_callback_t callback,
158 const std::string& callback_url,
159 bool teleport);
156 void sendItemRequest(U32 type, U64 handle = 0); 160 void sendItemRequest(U32 type, U64 handle = 0);
157 161
158 static void processMapLayerReply(LLMessageSystem*, void**); 162 static void processMapLayerReply(LLMessageSystem*, void**);
@@ -217,11 +221,10 @@ private:
217 221
218 // search for named region for url processing 222 // search for named region for url processing
219 std::string mSLURLRegionName; 223 std::string mSLURLRegionName;
224 U64 mSLURLRegionHandle;
220 std::string mSLURL; 225 std::string mSLURL;
221 url_callback_t mSLURLCallback; 226 url_callback_t mSLURLCallback;
222 bool mSLURLTeleport; 227 bool mSLURLTeleport;
223}; 228};
224 229
225extern LLWorldMap* gWorldMap;
226
227#endif 230#endif