LLMute Class Reference

#include <llmutelist.h>

Collaboration diagram for LLMute:

Collaboration graph
[legend]
List of all members.

Public Types

 BY_NAME = 0
 AGENT = 1
 OBJECT = 2
 GROUP = 3
 COUNT = 4
 flagTextChat = 0x00000001
 flagVoiceChat = 0x00000002
 flagParticles = 0x00000004
 flagObjectSounds = 0x00000008
 flagAll = 0x0000000F
enum  EType {
  BY_NAME = 0, AGENT = 1, OBJECT = 2, GROUP = 3,
  COUNT = 4
}
enum  {
  flagTextChat = 0x00000001, flagVoiceChat = 0x00000002, flagParticles = 0x00000004, flagObjectSounds = 0x00000008,
  flagAll = 0x0000000F
}

Public Member Functions

 LLMute (const LLUUID &id, const LLString &name=LLString(), EType type=BY_NAME, U32 flags=0)
LLString getDisplayName () const
void setFromDisplayName (const LLString &display_name)

Public Attributes

LLUUID mID
LLString mName
EType mType
U32 mFlags

Detailed Description

Definition at line 43 of file llmutelist.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
flagTextChat 
flagVoiceChat 
flagParticles 
flagObjectSounds 
flagAll 

Definition at line 53 of file llmutelist.h.

enum LLMute::EType

Enumerator:
BY_NAME 
AGENT 
OBJECT 
GROUP 
COUNT 

Definition at line 47 of file llmutelist.h.


Constructor & Destructor Documentation

LLMute::LLMute ( const LLUUID id,
const LLString name = LLString(),
EType  type = BY_NAME,
U32  flags = 0 
) [inline]

Definition at line 63 of file llmutelist.h.


Member Function Documentation

LLString LLMute::getDisplayName (  )  const

Definition at line 94 of file llmutelist.cpp.

References AGENT, AGENT_SUFFIX, BY_NAME, BY_NAME_SUFFIX, GROUP, GROUP_SUFFIX, mName, mType, OBJECT, and OBJECT_SUFFIX.

void LLMute::setFromDisplayName ( const LLString display_name  ) 

Definition at line 116 of file llmutelist.cpp.

References AGENT, AGENT_SUFFIX, BY_NAME, BY_NAME_SUFFIX, GROUP, GROUP_SUFFIX, llendl, llwarns, mName, mType, OBJECT, and OBJECT_SUFFIX.

Referenced by LLFloaterChat::onClickMute(), and LLFloaterMute::onClickRemove().


Member Data Documentation

U32 LLMute::mFlags

Definition at line 79 of file llmutelist.h.

Referenced by LLMuteList::add(), and LLMuteList::updateAdd().

LLUUID LLMute::mID

Definition at line 76 of file llmutelist.h.

Referenced by LLMuteList::add(), LLObjectMute::handleEvent(), LLMuteList::loadFromFile(), LLMuteList::updateAdd(), and LLMuteList::updateRemove().

LLString LLMute::mName

Definition at line 77 of file llmutelist.h.

Referenced by LLMuteList::add(), getDisplayName(), LLObjectMute::handleEvent(), LLMuteList::loadFromFile(), LLMuteList::remove(), setFromDisplayName(), LLMuteList::updateAdd(), and LLMuteList::updateRemove().

EType LLMute::mType

Definition at line 78 of file llmutelist.h.

Referenced by LLMuteList::add(), getDisplayName(), LLMuteList::loadFromFile(), setFromDisplayName(), and LLMuteList::updateAdd().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:32 2010 for Second Life Viewer by  doxygen 1.4.7