Main Page   Namespace List   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::ICQMessageEvent ICQ2000::MessageEvent ICQ2000::Event List of all members.

Public Methods

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

 URLMessageEvent (ContactRef 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...


Detailed Description

An URL message.


Constructor & Destructor Documentation

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

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

get the type of the MessageEvent.

Returns:
the type of the message

Implements ICQ2000::MessageEvent.

string ICQ2000::URLMessageEvent::getURL   const
 

get the url.

Returns:
the url


The documentation for this class was generated from the following files:
Generated on Fri Apr 26 23:48:16 2002 for libicq2000 by doxygen1.2.15