summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.h
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2009-12-02 14:18:40 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2009-12-02 14:18:40 +0200
commit9d8b189886ae14800d58f9729d8c8ea9b338ed52 (patch)
tree70bbfd2ed96710569bae959f6d1ac480f08919da /indra/newview/llimfloater.h
parent52ce4b922947579337226d7932bcd6ffb931da82 (diff)
Implemented normal sub-task EXT-2975 - Make the IM multifloater optional.
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimfloater.h')
-rw-r--r--indra/newview/llimfloater.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/indra/newview/llimfloater.h b/indra/newview/llimfloater.h
index 9e1330ff49..2c762c4d9a 100644
--- a/indra/newview/llimfloater.h
+++ b/indra/newview/llimfloater.h
@@ -33,11 +33,6 @@
#ifndef LL_IMFLOATER_H
#define LL_IMFLOATER_H
-// This variable is used to show floaters related to chiclets in a Multi Floater Container
-// So, this functionality does not require to have IM Floaters as Dockable & Transient
-// See EXT-2640.
-#define USE_IM_CONTAINER
-
#include "lltransientdockablefloater.h"
#include "lllogchat.h"
#include "lltooldraganddrop.h"
@@ -105,6 +100,14 @@ public:
void *cargo_data, EAcceptance *accept,
std::string& tooltip_msg);
+ /**
+ * Returns true if chat is displayed in multi tabbed floater
+ * false if chat is displayed in multiple windows
+ */
+ static bool isChatMultiTab();
+
+ static void initIMFloater();
+
private:
// process focus events to set a currently active session
/* virtual */ void onFocusLost();