From 73a97010e6c8c7874fdc1778ab46e492f77d9394 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Tue, 21 Jul 2009 00:57:23 +0000 Subject: merge https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0/indra@1059 https://svn.aws.productengine.com/secondlife/pe/stable-1/indra@1070 -> svn+ssh://svn.lindenlab.com/svn/linden/branches/viewer/viewer-2.0.0-3 --- indra/llui/llui.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/llui') diff --git a/indra/llui/llui.h b/indra/llui/llui.h index 6f0da05535..9399eff2ab 100644 --- a/indra/llui/llui.h +++ b/indra/llui/llui.h @@ -397,7 +397,12 @@ public: delete sInstance; sInstance = NULL; } + + static bool instanceExists() { return NULL != sInstance; } +private: + LLUISingleton(const LLUISingleton&){} + LLUISingleton& operator=(const LLUISingleton&){} private: static T* sInstance; }; -- cgit v1.2.3