Move getInstance() to instance()
parent
f37ea05c2a
commit
1fad6a680d
|
|
@ -524,7 +524,7 @@ BOOL LLFloaterNearbyChat::handleKeyHere( KEY key, MASK mask )
|
|||
|
||||
if (handled == TRUE)
|
||||
{
|
||||
LLNearbyChat::getInstance()->sendChat(mInputEditor->getConvertedText(),type);
|
||||
LLNearbyChat::instance().sendChat(mInputEditor->getConvertedText(),type);
|
||||
}
|
||||
|
||||
return handled;
|
||||
|
|
|
|||
|
|
@ -1012,7 +1012,7 @@ void LLGestureMgr::runStep(LLMultiGesture* gesture, LLGestureStep* step)
|
|||
|
||||
// <FS:Zi> Remove floating chat bar
|
||||
// LLNearbyChatBar::getInstance()->sendChatFromViewer(chat_text, CHAT_TYPE_NORMAL, animate);
|
||||
LLNearbyChat::getInstance()->sendChatFromViewer(chat_text, CHAT_TYPE_NORMAL, animate);
|
||||
LLNearbyChat::instance().sendChatFromViewer(chat_text, CHAT_TYPE_NORMAL, animate);
|
||||
// </FS:Zi>
|
||||
|
||||
gesture->mCurrentStep++;
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ void LLNearbyChatBarListener::sendChat(LLSD const & chat_data) const
|
|||
// Send it as if it was typed in
|
||||
// <FS:Zi> Remove floating chat bar
|
||||
// mChatbar.sendChatFromViewer(chat_to_send, type_o_chat, (BOOL)(channel == 0));
|
||||
LLNearbyChat::getInstance()->sendChatFromViewer(chat_to_send, type_o_chat, (BOOL)(channel == 0));
|
||||
LLNearbyChat::instance().sendChatFromViewer(chat_to_send, type_o_chat, (BOOL)(channel == 0));
|
||||
// <FS:Zi>
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ LLNearbyChatControl::LLNearbyChatControl(const LLNearbyChatControl::Params& p) :
|
|||
LLLineEditor(p)
|
||||
{
|
||||
setKeystrokeCallback(onKeystroke,this);
|
||||
LLNearbyChat::getInstance()->registerChatBar(this);
|
||||
LLNearbyChat::instance().registerChatBar(this);
|
||||
|
||||
setEnableLineHistory(TRUE);
|
||||
setIgnoreArrowKeys( FALSE );
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ void LLViewerGesture::doTrigger( BOOL send_chat )
|
|||
// with the gesture animation.
|
||||
// <FS:Zi> Remove floating chat bar
|
||||
// LLNearbyChatBar::getInstance()->sendChatFromViewer(mOutputString, CHAT_TYPE_NORMAL, FALSE);
|
||||
LLNearbyChat::getInstance()->sendChatFromViewer(mOutputString, CHAT_TYPE_NORMAL, FALSE);
|
||||
LLNearbyChat::instance().sendChatFromViewer(mOutputString, CHAT_TYPE_NORMAL, FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue