diff options
Diffstat (limited to 'indra/newview/llfloaterauction.h')
-rw-r--r-- | indra/newview/llfloaterauction.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/indra/newview/llfloaterauction.h b/indra/newview/llfloaterauction.h index e13bce01e1..b018316c64 100644 --- a/indra/newview/llfloaterauction.h +++ b/indra/newview/llfloaterauction.h @@ -36,7 +36,7 @@ #include "llfloater.h" #include "lluuid.h" -#include "llmemory.h" +#include "llpointer.h" #include "llviewerimage.h" //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -46,26 +46,24 @@ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class LLParcelSelection; -class LLFloaterAuction : public LLFloater +class LLFloaterAuction : public LLFloater, public LLFloaterSingleton<LLFloaterAuction> { + friend class LLUISingleton<LLFloaterAuction, VisibilityPolicy<LLFloater> >; public: // LLFloater interface /*virtual*/ void onClose(bool app_quitting) { setVisible(FALSE); } + /*virtual*/ void onOpen(const LLSD& key); /*virtual*/ void draw(); - - // LLFloaterAuction interface - static void show(); -private: - LLFloaterAuction(); + LLFloaterAuction(const LLSD& key); ~LLFloaterAuction(); +private: void initialize(); static void onClickSnapshot(void* data); static void onClickOK(void* data); - static LLFloaterAuction* sInstance; - + /*virtual*/ BOOL postBuild(); private: LLTransactionID mTransactionID; LLAssetID mImageID; |