|
| | MucRoom (ClientAccount *owner, const char *id, const char *name, const char *uri, const char *nick=0) |
| |
| MucRoomMember & | resource () |
| |
| bool | ownMember (MucRoomMember *item) const |
| |
| bool | ownMember (const String &item) const |
| |
| bool | available () const |
| |
| bool | canChat () const |
| |
| bool | canChatPrivate () const |
| |
| bool | canChangeSubject () const |
| |
| bool | canInvite () const |
| |
| bool | canKick (MucRoomMember *member) const |
| |
| bool | canBan (MucRoomMember *member) const |
| |
| Message * | buildMucRoom (const char *oper) |
| |
| Message * | buildJoin (bool join, bool history=true, unsigned int sNewer=0) |
| |
| virtual MucRoom * | mucRoom () |
| |
| virtual ClientResource * | status (bool ref=false) |
| |
| MucRoomMember * | findMember (const String &nick) |
| |
| MucRoomMember * | findMember (const String &contact, const String &instance) |
| |
| MucRoomMember * | findMemberById (const String &id) |
| |
| bool | hasChat (const String &id) |
| |
| virtual void | flashChat (const String &id, bool on=true) |
| |
| virtual void | getChatInput (const String &id, String &text, const String &name="message") |
| |
| virtual void | setChatInput (const String &id, const String &text=String::empty(), const String &name="message") |
| |
| virtual void | getChatHistory (const String &id, String &text, bool richText=false, const String &name="history") |
| |
| virtual void | setChatHistory (const String &id, const String &text, bool richText=false, const String &name="history") |
| |
| virtual void | addChatHistory (const String &id, const String &what, NamedList *¶ms, const String &name="history") |
| |
| virtual void | setChatProperty (const String &id, const String &name, const String &prop, const String &value) |
| |
| virtual bool | showChat (const String &id, bool visible, bool active=false) |
| |
| virtual void | createChatWindow (const String &id, bool force=false, const char *name=0) |
| |
| virtual void | updateChatWindow (const String &id, const NamedList ¶ms) |
| |
| virtual bool | isChatActive (const String &id) |
| |
| void | destroyChatWindow (const String &id=String::empty()) |
| |
| virtual ClientResource * | findResource (const String &id, bool ref=false) |
| |
| virtual ClientResource * | appendResource (const String &nick) |
| |
| virtual bool | insertResource (ClientResource *res) |
| |
| virtual bool | removeResource (const String &nick, bool delChat=false) |
| |
| | ClientContact (ClientAccount *owner, const char *id, const char *name=0, const char *uri=0) |
| |
| | ClientContact (ClientAccount *owner, const NamedList ¶ms, const char *id=0, const char *uri=0) |
| |
| ClientAccount * | account () |
| |
| const String & | accountName () const |
| |
| const URI & | uri () const |
| |
| void | setUri (const char *u) |
| |
| const String & | subscriptionStr () const |
| |
| bool | subscriptionFrom () const |
| |
| bool | subscriptionTo () const |
| |
| bool | setSubscription (const String &value) |
| |
| ObjList & | resources () |
| |
| bool | online () const |
| |
| void | setOnline (bool on) |
| |
| ObjList & | groups () |
| |
| bool | local (bool defVal=false) const |
| |
| void | setLocal (bool on) |
| |
| bool | remote (bool defVal=false) const |
| |
| void | setRemote (bool on) |
| |
| void | setDockedChat (bool on) |
| |
| void | getContactSection (String &buf) |
| |
| virtual const String & | toString () const |
| |
| String & | buildInstanceId (String &dest, const String &inst=String::empty()) |
| |
| void | buildIdHash (String &buf, const String &prefix=String::empty()) |
| |
| bool | isChatWnd (Window *wnd) |
| |
| bool | hasChat () |
| |
| virtual void | flashChat (bool on=true) |
| |
| virtual bool | sendChat (const char *body, const String &res=String::empty(), const String &type=String::empty(), const char *state="active") |
| |
| virtual void | getChatInput (String &text, const String &name="message") |
| |
| virtual void | setChatInput (const String &text=String::empty(), const String &name="message") |
| |
| virtual void | getChatHistory (String &text, bool richText=false, const String &name="history") |
| |
| virtual void | setChatHistory (const String &text, bool richText=false, const String &name="history") |
| |
| virtual void | addChatHistory (const String &what, NamedList *¶ms, const String &name="history") |
| |
| virtual void | getChatProperty (const String &name, const String &prop, String &value) |
| |
| virtual void | setChatProperty (const String &name, const String &prop, const String &value) |
| |
| bool | isChatVisible () |
| |
| virtual bool | showChat (bool visible, bool active=false) |
| |
| Window * | getChatWnd () |
| |
| virtual void | createChatWindow (bool force=false, const char *name=0) |
| |
| virtual void | updateChatWindow (const NamedList ¶ms, const char *title=0, const char *icon=0) |
| |
| virtual bool | isChatActive () |
| |
| void | destroyChatWindow () |
| |
| virtual String * | findGroup (const String &group) |
| |
| virtual bool | appendGroup (const String &group) |
| |
| virtual bool | removeGroup (const String &group) |
| |
| virtual bool | setGroups (const NamedList &list, const String ¶m) |
| |
| virtual ClientResource * | findAudioResource (bool ref=false) |
| |
| virtual ClientResource * | findFileTransferResource (bool ref=false) |
| |
| virtual bool | removeResource (const String &id) |
| |
| NamedList & | share () |
| |
| bool | haveShare () const |
| |
| virtual void | updateShare () |
| |
| virtual void | saveShare () |
| |
| virtual void | clearShare () |
| |
| virtual bool | setShareDir (const String &name, const String &path, bool save=true) |
| |
| virtual bool | removeShare (const String &name, bool save=true) |
| |
| ObjList & | shared () |
| |
| bool | haveShared () const |
| |
| virtual ClientDir * | getShared (const String &name, bool create=false) |
| |
| virtual bool | removeShared (const String &name=String::empty(), ClientDir **removed=0) |
| |
| | RefObject () |
| |
| virtual | ~RefObject () |
| |
| virtual void * | getObject (const String &name) const |
| |
| virtual bool | alive () const |
| |
| bool | ref () |
| |
| bool | deref () |
| |
| int | refcount () const |
| |
| virtual void | destruct () |
| |
| | GenObject () |
| |
| virtual | ~GenObject () |
| |
| virtual const String & | traceId () const |
| |
| NamedCounter * | getObjCounter () const |
| |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
| |
An account's MUC room contact.
This class holds a client account's MUC room contact. The list of resources contains MucRoomMember items. Contact nick is held by own MucRoomMember name The contact uri is the room uri The contact name is the room name The contact resource member uri is the account's uri