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

ICQ2000::SMSMessageEvent Class Reference

#include <events.h>

Inheritance diagram for ICQ2000::SMSMessageEvent:

ICQ2000::MessageEvent ICQ2000::Event

List of all members.


Detailed Description

An SMS message

Definition at line 420 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

ContactRef getContact ()
DeliveryFailureReason getDeliveryFailureReason () const
std::string getMessage () const
bool getRcpt () const
std::string getSender () const
std::string getSenders_network () const
std::string getSMTPFrom () const
std::string getSMTPSubject () const
std::string getSMTPTo () const
std::string getSource () const
time_t getTime () const
MessageType getType () const
bool isDelivered () const
bool isDirect () const
bool isFinished () const
void setDelivered (bool f)
void setDeliveryFailureReason (DeliveryFailureReason d)
void setDirect (bool f)
void setFinished (bool f)
void setSMTPFrom (const std::string &from)
void setSMTPSubject (const std::string &subj)
void setSMTPTo (const std::string &to)
void setTime (time_t t)
 SMSMessageEvent (ContactRef c, const std::string &msg, const std::string &source, const std::string &senders_network, const std::string &time)
 SMSMessageEvent (ContactRef c, const std::string &msg, bool rcpt)

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

std::string m_message
bool m_rcpt
std::string m_sender
std::string m_senders_network
std::string m_smtp_from
std::string m_smtp_subject
std::string m_smtp_to
std::string m_source

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

Generated by  Doxygen 1.6.0   Back to index