diff options
author | Merov Linden <merov@lindenlab.com> | 2012-08-29 10:07:55 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-08-29 10:07:55 -0700 |
commit | ca7abc4c3be9310f4e5fec00b7d6ffadaba58ff0 (patch) | |
tree | 507ae1b50f4f703acd33a5f13378fa3775ac8eb4 /indra/newview/llconversationmodel.cpp | |
parent | ad070b9155e2fddfc746319003253248ceb0eba3 (diff) |
CHUI-280 : Add print out debug methods
Diffstat (limited to 'indra/newview/llconversationmodel.cpp')
-rw-r--r-- | indra/newview/llconversationmodel.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp index dbf5ac6e03..d7f9093a4a 100644 --- a/indra/newview/llconversationmodel.cpp +++ b/indra/newview/llconversationmodel.cpp @@ -159,6 +159,18 @@ void LLConversationItemSession::setParticipantIsModerator(const LLUUID& particip } } +void LLConversationItemSession::dumpDebugData() +{ + llinfos << "Merov debug : session, uuid = " << mUUID << ", name = " << mName << ", is loaded = " << mIsLoaded << llendl; + LLConversationItemParticipant* participant = NULL; + child_list_t::iterator iter; + for (iter = mChildren.begin(); iter != mChildren.end(); iter++) + { + participant = dynamic_cast<LLConversationItemParticipant*>(*iter); + participant->dumpDebugData(); + } +} + // // LLConversationItemParticipant // @@ -175,4 +187,8 @@ LLConversationItemParticipant::LLConversationItemParticipant(const LLUUID& uuid, { } +void LLConversationItemParticipant::dumpDebugData() +{ + llinfos << "Merov debug : participant, uuid = " << mUUID << ", name = " << mName << ", muted = " << mIsMuted << ", moderator = " << mIsModerator << llendl; +} // EOF |