summaryrefslogtreecommitdiff
path: root/indra/newview/llpreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpreview.h')
-rw-r--r--indra/newview/llpreview.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llpreview.h b/indra/newview/llpreview.h
index 97cd2d5b07..5f129b99d4 100644
--- a/indra/newview/llpreview.h
+++ b/indra/newview/llpreview.h
@@ -58,10 +58,12 @@ public:
static void setAutoOpenInstance(LLMultiPreview* previewp, const LLUUID& id);
protected:
- typedef std::map<LLUUID, LLViewHandle> handle_map_t;
- static std::map<LLUUID, LLViewHandle> sAutoOpenPreviewHandles;
+ typedef std::map<LLUUID, LLHandle<LLFloater> > handle_map_t;
+ static handle_map_t sAutoOpenPreviewHandles;
};
+// https://wiki.lindenlab.com/mediawiki/index.php?title=LLPreview&oldid=81373
+
class LLPreview : public LLFloater, LLInventoryObserver
{
public:
@@ -160,7 +162,7 @@ protected:
EAssetStatus mAssetStatus;
typedef std::map<LLUUID, LLPreview*> preview_map_t;
- typedef std::multimap<LLUUID, LLViewHandle> preview_multimap_t;
+ typedef std::multimap<LLUUID, LLHandle<LLFloater> > preview_multimap_t;
static preview_multimap_t sPreviewsBySource;
static preview_map_t sInstances;