qtms/inc/qtmsringtoneimpl.h
changeset 51 e61a04404bdf
parent 27 cbb1bfb7ebfb
equal deleted inserted replaced
44:d141fc1ad77b 51:e61a04404bdf
    22 #include <tmsringtoneobsrvr.h>
    22 #include <tmsringtoneobsrvr.h>
    23 #include <qtms.h>
    23 #include <qtms.h>
    24 #include <qtmsringtone.h>
    24 #include <qtmsringtone.h>
    25 
    25 
    26 // FORWARD DECLARATIONS
    26 // FORWARD DECLARATIONS
    27 namespace TMS {
    27 namespace TMS
       
    28 {
    28 class TMSRingTone;
    29 class TMSRingTone;
    29 }
    30 }
    30 
    31 
    31 namespace QTMS {
    32 namespace QTMS
       
    33 {
    32 
    34 
    33 // QTMSRingToneImpl class
    35 // QTMSRingToneImpl class
    34 class QTMSRingToneImpl : public QTMSRingTone,
    36 class QTMSRingToneImpl: public QTMSRingTone, public TMS::TMSRingToneObserver
    35                          public TMS::TMSRingToneObserver
    37 {
    36     {
       
    37 public:
    38 public:
    38     static gint Create(QTMSRingTone*& qrt, TMS::TMSRingTone*& tmsrt);
    39     static gint Create(QTMSRingTone*& qrt, TMS::TMSRingTone*& tmsrt);
    39     virtual ~QTMSRingToneImpl();
    40     virtual ~QTMSRingToneImpl();
    40 
    41 
    41     gint AddObserver(TMS::TMSRingToneObserver& obsrvr, gpointer user_data);
    42     gint AddObserver(TMS::TMSRingToneObserver& obsrvr, gpointer user_data);
    45     void RingtoneEvent(const TMS::TMSRingTone& rt, TMS::TMSSignalEvent event);
    46     void RingtoneEvent(const TMS::TMSRingTone& rt, TMS::TMSSignalEvent event);
    46 
    47 
    47 private:
    48 private:
    48     QTMSRingToneImpl();
    49     QTMSRingToneImpl();
    49     gint PostConstruct();
    50     gint PostConstruct();
    50     };
    51 };
    51 
    52 
    52 } //namespace QTMS
    53 } //namespace QTMS
    53 
    54 
    54 #endif //QTMSRINGTONEBODYIMPL_H
    55 #endif //QTMSRINGTONEBODYIMPL_H
    55 
       
    56 // End of file
    56 // End of file
    57 
    57