Public Member Functions

Swift::MUCBookmark Class Reference

Collaboration diagram for Swift::MUCBookmark:

List of all members.

Public Member Functions

 MUCBookmark (const Storage::Room &room)
 MUCBookmark (const JID &room, const std::string &bookmarkName)
void setAutojoin (bool enabled)
bool getAutojoin () const
void setNick (const boost::optional< std::string > &nick)
void setPassword (const boost::optional< std::string > &password)
const boost::optional
< std::string > & 
getNick () const
const boost::optional
< std::string > & 
getPassword () const
const std::string & getName () const
const JIDgetRoom () const
bool operator== (const MUCBookmark &rhs) const
Storage::Room toStorage () const

Detailed Description

Definition at line 15 of file MUCBookmark.h.


Constructor & Destructor Documentation

Swift::MUCBookmark::MUCBookmark ( const Storage::Room room  )  [inline]
Swift::MUCBookmark::MUCBookmark ( const JID room,
const std::string &  bookmarkName 
) [inline]

Definition at line 24 of file MUCBookmark.h.


Member Function Documentation

bool Swift::MUCBookmark::getAutojoin (  )  const [inline]

Definition at line 31 of file MUCBookmark.h.

const std::string& Swift::MUCBookmark::getName (  )  const [inline]

Definition at line 51 of file MUCBookmark.h.

const boost::optional<std::string>& Swift::MUCBookmark::getNick (  )  const [inline]

Definition at line 43 of file MUCBookmark.h.

const boost::optional<std::string>& Swift::MUCBookmark::getPassword (  )  const [inline]

Definition at line 47 of file MUCBookmark.h.

const JID& Swift::MUCBookmark::getRoom (  )  const [inline]

Definition at line 55 of file MUCBookmark.h.

bool Swift::MUCBookmark::operator== ( const MUCBookmark rhs  )  const [inline]

Definition at line 59 of file MUCBookmark.h.

void Swift::MUCBookmark::setAutojoin ( bool  enabled  )  [inline]

Definition at line 27 of file MUCBookmark.h.

void Swift::MUCBookmark::setNick ( const boost::optional< std::string > &  nick  )  [inline]

Definition at line 35 of file MUCBookmark.h.

void Swift::MUCBookmark::setPassword ( const boost::optional< std::string > &  password  )  [inline]

Definition at line 39 of file MUCBookmark.h.

Storage::Room Swift::MUCBookmark::toStorage (  )  const [inline]

Definition at line 64 of file MUCBookmark.h.