Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

ICQ2000::SMSMessageEvent Class Reference

An SMS message. More...

#include <events.h>

Inheritance diagram for ICQ2000::SMSMessageEvent::

ICQ2000::MessageEvent ICQ2000::Event List of all members.

Public Methods

 SMSMessageEvent (Contact *c, const string &msg, bool rcpt)
 Construct an SMSMessageEvent. More...

 SMSMessageEvent (Contact *c, const string &msg, const string &source, const string &senders_network, const string &time)
 Construct an SMSMessageEvent. More...

string getMessage () const
 get the message. More...

MessageType getType () const
 get the type of the MessageEvent. More...

string getSource () const
 get the source. More...

string getSender () const
 get the sender (mobile no). More...

string getSenders_network () const
 get the senders network. More...

bool getRcpt () const
 get if a receipt was requested. More...


Detailed Description

An SMS message.


Constructor & Destructor Documentation

ICQ2000::SMSMessageEvent::SMSMessageEvent Contact *    c,
const string &    msg,
bool    rcpt
 

Construct an SMSMessageEvent.

Parameters:
c  the destination contact
msg  the message
rcpt  whether to request a delivery receipt

ICQ2000::SMSMessageEvent::SMSMessageEvent Contact *    c,
const string &    msg,
const string &    source,
const string &    senders_network,
const string &    time
 

Construct an SMSMessageEvent.

Parameters:
c  the source contact
msg  the message
source  the source (service)
senders_network  the senders network
time  the time of sending
Todo:
fix parsing of time


Member Function Documentation

string ICQ2000::SMSMessageEvent::getMessage   const
 

get the message.

Returns:
the message

bool ICQ2000::SMSMessageEvent::getRcpt   const
 

get if a receipt was requested.

Returns:
if a receipt was requested

string ICQ2000::SMSMessageEvent::getSender   const
 

get the sender (mobile no).

Returns:
the sender

string ICQ2000::SMSMessageEvent::getSenders_network   const
 

get the senders network.

Returns:
the senders network

string ICQ2000::SMSMessageEvent::getSource   const
 

get the source.

Returns:
the source

MessageEvent::MessageType ICQ2000::SMSMessageEvent::getType   const [virtual]
 

get the type of the MessageEvent.

Returns:
the type of the message

Reimplemented from ICQ2000::MessageEvent.


The documentation for this class was generated from the following files:
Generated on Tue Jan 15 12:24:37 2002 for libicq2000 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001