Main Page   Namespace List   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 (ContactRef c, const string &msg, bool rcpt)
 Construct an SMSMessageEvent.

 SMSMessageEvent (ContactRef c, const string &msg, const string &source, const string &senders_network, const string &time)
 Construct an SMSMessageEvent.

string getMessage () const
 get the message

MessageType getType () const
 get the type of the MessageEvent

string getSource () const
 get the source

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

string getSenders_network () const
 get the senders network

bool getRcpt () const
 get if a receipt was requested

void setSMTPFrom (const string &from)
string getSMTPFrom () const
void setSMTPTo (const string &to)
string getSMTPTo () const
void setSMTPSubject (const string &subj)
string getSMTPSubject () const

Detailed Description

An SMS message.


Constructor & Destructor Documentation

ICQ2000::SMSMessageEvent::SMSMessageEvent ContactRef    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 ContactRef    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

Implements ICQ2000::MessageEvent.


The documentation for this class was generated from the following files:
Generated on Sat Jul 20 16:59:09 2002 for libicq2000 by doxygen1.2.16