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

ICQ2000::AuthAckEvent Class Reference

An Authorisation Acknowledge (success/failure). More...

#include <events.h>

Inheritance diagram for ICQ2000::AuthAckEvent::

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

Public Methods

 AuthAckEvent (Contact *c, bool granted)
 Constructor for the Authorisation Acknowledgement. More...

 AuthAckEvent (Contact *c, bool granted, time_t time)
 Constructor for the Authorisation Acknowledgement. More...

 AuthAckEvent (Contact *c, const string &msg, bool granted)
 Constructor for the Authorisation Acknowledgement. More...

 AuthAckEvent (Contact *c, const string &msg, bool granted, time_t time)
 Constructor for the Authorisation Acknowledgement. More...

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

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

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

bool isGranted () const
 get if the authorisation was granted. More...

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


Detailed Description

An Authorisation Acknowledge (success/failure).


Constructor & Destructor Documentation

ICQ2000::AuthAckEvent::AuthAckEvent Contact *    c,
bool    granted
 

Constructor for the Authorisation Acknowledgement.

Parameters:
c  the contact
granted  if authorisation was granted

ICQ2000::AuthAckEvent::AuthAckEvent Contact *    c,
bool    granted,
time_t    t
 

Constructor for the Authorisation Acknowledgement.

Parameters:
c  the contact
granted  if authorisation was granted
t  time the message was sent

ICQ2000::AuthAckEvent::AuthAckEvent Contact *    c,
const string &    msg,
bool    granted
 

Constructor for the Authorisation Acknowledgement.

Parameters:
c  the contact
msg  the authorisation message
granted  if authorisation was granted

ICQ2000::AuthAckEvent::AuthAckEvent Contact *    c,
const string &    msg,
bool    granted,
time_t    t
 

Constructor for the Authorisation Acknowledgement.

Parameters:
c  the contact
msg  the authorisation message
granted  if authorisation was granted
t  time the message was sent


Member Function Documentation

string ICQ2000::AuthAckEvent::getMessage   const
 

get the authorisation message.

Returns:
the authorisation message

unsigned int ICQ2000::AuthAckEvent::getSenderUIN   const
 

get the sender's uin.

Returns:
the sender's uin

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

get the type of the MessageEvent.

Returns:
the type of the message

Reimplemented from ICQ2000::MessageEvent.

bool ICQ2000::AuthAckEvent::isGranted   const
 

get if the authorisation was granted.

Returns:
if the authorisation was granted

bool ICQ2000::AuthAckEvent::isOfflineMessage   const
 

get if the message was sent offline.

Returns:
if the message was sent offline


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