summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermap.h
diff options
context:
space:
mode:
authorChristian Goetze <cg@lindenlab.com>2009-03-13 21:28:40 +0000
committerChristian Goetze <cg@lindenlab.com>2009-03-13 21:28:40 +0000
commit1aa0416aef379bb3ad1012441588b6d7fab81b40 (patch)
tree14a247470bd0d508aba923dc00e940b961d304da /indra/newview/llfloatermap.h
parent7573288ab3ede23f97bff2f5caefcb622e7e9842 (diff)
svn merge -r114093:114412 svn+ssh://svn.lindenlab.com/svn/linden/branches/featurettes/featurettes-batch5-merge
Melinda (coco): 5th and final batch of featurettes. My work here is done.
Diffstat (limited to 'indra/newview/llfloatermap.h')
-rw-r--r--indra/newview/llfloatermap.h28
1 files changed, 11 insertions, 17 deletions
diff --git a/indra/newview/llfloatermap.h b/indra/newview/llfloatermap.h
index 9d7abaf2ae..ec2db27f7a 100644
--- a/indra/newview/llfloatermap.h
+++ b/indra/newview/llfloatermap.h
@@ -37,32 +37,26 @@
class LLNetMap;
-//
-// Classes
-//
-class LLFloaterMap
-: public LLFloater
+class LLFloaterMap :
+ public LLFloater,
+ public LLFloaterSingleton<LLFloaterMap>
{
+ friend class LLUISingleton<LLFloaterMap, VisibilityPolicy<LLFloater> >;
public:
- LLFloaterMap(const std::string& name);
virtual ~LLFloaterMap();
- static void toggle(void*);
+ static void* createPanelMiniMap(void* data);
+
+ BOOL postBuild();
- /*virtual*/ void setVisible(BOOL visible);
/*virtual*/ void draw();
+ /*virtual*/ void onOpen();
/*virtual*/ void onClose(bool app_quitting);
/*virtual*/ BOOL canClose();
-protected:
- LLNetMap* mMap;
+private:
+ LLFloaterMap(const LLSD& key = LLSD());
+ LLNetMap* mPanelMap;
};
-
-//
-// Globals
-//
-
-extern LLFloaterMap *gFloaterMap;
-
#endif // LL_LLFLOATERMAP_H