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

ICQ2000::URLMessageEvent Class Reference

An URL message. More...

#include <events.h>

Inheritance diagram for ICQ2000::URLMessageEvent::

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

Public Methods

 URLMessageEvent (Contact *c, const string &msg, const string &url)
 Construct an URLMessageEvent. More...

 URLMessageEvent (Contact *c, const string &msg, const string &url, time_t t)
 Construct an URLMessageEvent. More...

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

string getURL () const
 get the url. More...

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

unsigned int getSenderUIN () const
 get the uin of the sender. More...

bool isOfflineMessage () const
 get if the message was an offline message. More...


Detailed Description

An URL message.


Constructor & Destructor Documentation

ICQ2000::URLMessageEvent::URLMessageEvent Contact *    c,
const string &    msg,
const string &    url
 

Construct an URLMessageEvent.

Parameters:
c  the contact related to the event
msg  the message
url  the url

ICQ2000::URLMessageEvent::URLMessageEvent Contact *    c,
const string &    msg,
const string &    url,
time_t    t
 

Construct an URLMessageEvent.

This constructor is only used by the library.

Parameters:
c  the contact related to the event
msg  the message
url  the url
t  time of sending


Member Function Documentation

string ICQ2000::URLMessageEvent::getMessage   const
 

get the message.

Returns:
the message

unsigned int ICQ2000::URLMessageEvent::getSenderUIN   const
 

get the uin of the sender.

This is really miss-named, if you were sending the message, this would be the UIN of the recipient.

Returns:
the uni

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

get the type of the MessageEvent.

Returns:
the type of the message

Reimplemented from ICQ2000::MessageEvent.

string ICQ2000::URLMessageEvent::getURL   const
 

get the url.

Returns:
the url

bool ICQ2000::URLMessageEvent::isOfflineMessage   const
 

get if the message was an offline message.

Returns:
if the message was an offline message


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