aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpreview.h')
-rw-r--r--linden/indra/newview/llpreview.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/linden/indra/newview/llpreview.h b/linden/indra/newview/llpreview.h
index 8a4a434..6265943 100644
--- a/linden/indra/newview/llpreview.h
+++ b/linden/indra/newview/llpreview.h
@@ -58,10 +58,12 @@ public:
58 static void setAutoOpenInstance(LLMultiPreview* previewp, const LLUUID& id); 58 static void setAutoOpenInstance(LLMultiPreview* previewp, const LLUUID& id);
59 59
60protected: 60protected:
61 typedef std::map<LLUUID, LLViewHandle> handle_map_t; 61 typedef std::map<LLUUID, LLHandle<LLFloater> > handle_map_t;
62 static std::map<LLUUID, LLViewHandle> sAutoOpenPreviewHandles; 62 static handle_map_t sAutoOpenPreviewHandles;
63}; 63};
64 64
65// https://wiki.lindenlab.com/mediawiki/index.php?title=LLPreview&oldid=81373
66
65class LLPreview : public LLFloater, LLInventoryObserver 67class LLPreview : public LLFloater, LLInventoryObserver
66{ 68{
67public: 69public:
@@ -160,7 +162,7 @@ protected:
160 EAssetStatus mAssetStatus; 162 EAssetStatus mAssetStatus;
161 163
162 typedef std::map<LLUUID, LLPreview*> preview_map_t; 164 typedef std::map<LLUUID, LLPreview*> preview_map_t;
163 typedef std::multimap<LLUUID, LLViewHandle> preview_multimap_t; 165 typedef std::multimap<LLUUID, LLHandle<LLFloater> > preview_multimap_t;
164 166
165 static preview_multimap_t sPreviewsBySource; 167 static preview_multimap_t sPreviewsBySource;
166 static preview_map_t sInstances; 168 static preview_map_t sInstances;