From 128a12f22fb053ebfa21fb7366a84543db1342ca Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 30 Aug 2010 21:14:50 -0700 Subject: Fixed linking error with chat as command line --- linden/indra/newview/floaterao.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/linden/indra/newview/floaterao.cpp b/linden/indra/newview/floaterao.cpp index 4214e21..cfad0fb 100644 --- a/linden/indra/newview/floaterao.cpp +++ b/linden/indra/newview/floaterao.cpp @@ -19,8 +19,7 @@ #include "llcheckboxctrl.h" #include "llcombobox.h" #include "llspinctrl.h" -// Uncomment and use instead if we ever add the chatbar as a command line - MC -//#include "chatbar_as_cmdline.h" +#include "chatbar_as_cmdline.h" #include "llfloaterchat.h" #include "llfirstuse.h" @@ -35,15 +34,7 @@ #include "llboost.h" #include -// Uncomment and use instead if we ever add the chatbar as a command line - MC -//void cmdline_printchat(std::string message); -void cmdline_printchat(std::string message) -{ - LLChat chat; - chat.mText = message; - chat.mSourceType = CHAT_SOURCE_SYSTEM; - LLFloaterChat::addChat(chat, FALSE, FALSE); -} +void cmdline_printchat(std::string message); AOInvTimer* gAOInvTimer = NULL; -- cgit v1.1