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 std::string &msg, const std::string &url)
 Construct an URLMessageEvent.

 URLMessageEvent (ContactRef c, const std::string &msg, const std::string &url, time_t t)
 Construct an URLMessageEvent.

std::string getMessage () const
 get the message

std::string getURL () const
 get the url

MessageType getType () const
 get the type of the MessageEvent

ICQMessageEventcopy () const

Detailed Description

An URL message.


Constructor & Destructor Documentation

ICQ2000::URLMessageEvent::URLMessageEvent ContactRef    c,
const std::string &    msg,
const std::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 std::string &    msg,
const std::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 Sun Jul 21 10:57:33 2002 for libicq2000 by doxygen1.2.16