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

ICQ2000::LogEvent Class Reference

This event is for any logging messages generated by the library. More...

#include <events.h>

Inheritance diagram for ICQ2000::LogEvent::

ICQ2000::Event List of all members.

Public Types

enum  LogType {
  WARN, ERROR, INFO, PACKET,
  DIRECTPACKET
}
 enum of different types of log messages.


Public Methods

 LogEvent (LogType type, const string &msg)
 Constructor for a LogEvent. More...

LogType getType () const
 get the type of the log message. More...

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


Detailed Description

This event is for any logging messages generated by the library.


Constructor & Destructor Documentation

ICQ2000::LogEvent::LogEvent LogType    type,
const string &    msg
 

Constructor for a LogEvent.

Parameters:
type  type of log messages
msg  the log message


Member Function Documentation

string ICQ2000::LogEvent::getMessage   const
 

get the log message.

Returns:
log message

LogEvent::LogType ICQ2000::LogEvent::getType   const
 

get the type of the log message.

Returns:
type of the log message


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