Public Types | |
enum | Type { Online, Away, FFC, XA, DND, None } |
typedef boost::shared_ptr < Payload > | ref |
Public Member Functions | |
StatusShow (const Type &type=Online) | |
void | setType (const Type &type) |
const Type & | getType () const |
Static Public Member Functions | |
static int | typeToAvailabilityOrdering (Type type) |
Can be used for rough ordering of Types. |
Definition at line 13 of file StatusShow.h.
typedef boost::shared_ptr<Payload> Swift::Payload::ref [inherited] |
Reimplemented in Swift::Bytestreams, Swift::CapsInfo, Swift::Command, Swift::DeliveryReceipt, Swift::DeliveryReceiptRequest, Swift::DiscoInfo, Swift::ErrorPayload, Swift::Form, Swift::IBB, Swift::InBandRegistrationPayload, Swift::JingleContentPayload, Swift::JingleDescription, Swift::JingleFileTransferDescription, Swift::JingleFileTransferHash, Swift::JingleFileTransferReceived, Swift::JingleIBBTransportPayload, Swift::JinglePayload, Swift::JingleS5BTransportPayload, Swift::JingleTransportPayload, Swift::MUCAdminPayload, Swift::MUCDestroyPayload, Swift::MUCInvitationPayload, Swift::MUCOwnerPayload, Swift::MUCPayload, Swift::MUCUserPayload, Swift::Replace, Swift::RosterItemExchangePayload, Swift::RosterPayload, Swift::S5BProxyRequest, Swift::SearchPayload, Swift::SecurityLabel, Swift::SecurityLabelsCatalog, Swift::SoftwareVersion, Swift::StreamInitiation, Swift::StreamInitiationFileInfo, Swift::VCard, and Swift::WhiteboardPayload.
Definition at line 15 of file StatusShow.h.
Swift::StatusShow::StatusShow | ( | const Type & | type = Online |
) |
const Type& Swift::StatusShow::getType | ( | ) | const [inline] |
Definition at line 23 of file StatusShow.h.
void Swift::StatusShow::setType | ( | const Type & | type | ) | [inline] |
Definition at line 19 of file StatusShow.h.
static int Swift::StatusShow::typeToAvailabilityOrdering | ( | Type | type | ) | [inline, static] |
Can be used for rough ordering of Types.
Greater magnitude = more available.
Definition at line 31 of file StatusShow.h.