Logo Search packages:      
Sourcecode: jabber-jit version File versions  Download package

ICQ2000::NormalMessageEvent Class Reference

#include <events.h>

Inheritance diagram for ICQ2000::NormalMessageEvent:

ICQ2000::ICQMessageEvent ICQ2000::MessageEvent ICQ2000::Event

List of all members.

Detailed Description

A normal message

Definition at line 377 of file events.h.

Public Types

enum  DeliveryFailureReason {
  Failed, Failed_NotConnected, Failed_ClientNotCapable, Failed_Denied,
  Failed_Ignored, Failed_Occupied, Failed_DND, Failed_SMTP
enum  MessageType {
  Normal, URL, SMS, SMS_Receipt,
  AuthReq, AuthAck, AwayMessage, EmailEx,
  UserAdd, Email, WebPager

Public Member Functions

ICQMessageEventcopy () const
std::string getAwayMessage () const
unsigned int getBackground () const
ContactRef getContact ()
DeliveryFailureReason getDeliveryFailureReason () const
unsigned int getForeground () const
std::string getMessage () const
unsigned int getSenderUIN () const
time_t getTime () const
MessageType getType () const
bool isDelivered () const
bool isDirect () const
bool isFinished () const
bool isMultiParty () const
bool isOfflineMessage () const
bool isToContactList () const
bool isUrgent () const
 NormalMessageEvent (ContactRef c, const std::string &msg, unsigned int fg, unsigned int bg)
 NormalMessageEvent (ContactRef c, const std::string &msg, time_t t, bool multi)
 NormalMessageEvent (ContactRef c, const std::string &msg, bool multi=false)
void setAwayMessage (const std::string &msg)
void setBackground (unsigned int b)
void setDelivered (bool f)
void setDeliveryFailureReason (DeliveryFailureReason d)
void setDirect (bool f)
void setFinished (bool f)
void setForeground (unsigned int f)
void setOfflineMessage (bool b)
void setTime (time_t t)
void setToContactList (bool b)
void setUrgent (bool b)

Protected Attributes

ContactRef m_contact
 the contact related to the MessageEvent
bool m_delivered
 whether the event was delivered
bool m_direct
 whether the event was sent direct
DeliveryFailureReason m_failure_reason
bool m_finished
 whether the event is finished
time_t m_time

Private Attributes

unsigned int m_background
unsigned int m_foreground
std::string m_message
bool m_multi

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index