diff options
Diffstat (limited to 'linden/indra/newview/llpreview.h')
-rw-r--r-- | linden/indra/newview/llpreview.h | 8 |
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 | ||
60 | protected: | 60 | protected: |
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 | |||
65 | class LLPreview : public LLFloater, LLInventoryObserver | 67 | class LLPreview : public LLFloater, LLInventoryObserver |
66 | { | 68 | { |
67 | public: | 69 | public: |
@@ -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; |