mmappfw_plat/qt_telephony_multimedia_service_api/inc/qtmsringtone.h
changeset 51 e61a04404bdf
parent 35 2ee890d2f7e7
equal deleted inserted replaced
44:d141fc1ad77b 51:e61a04404bdf
    21 #include <qtms.h>
    21 #include <qtms.h>
    22 #include <QObject>
    22 #include <QObject>
    23 #include "qtmswrapperexport.h"
    23 #include "qtmswrapperexport.h"
    24 
    24 
    25 // FORWARD DECLARATIONS
    25 // FORWARD DECLARATIONS
    26 namespace TMS {
    26 namespace TMS
       
    27 {
    27 class TMSRingTone;
    28 class TMSRingTone;
    28 }
    29 }
    29 
    30 
    30 namespace QTMS {
    31 namespace QTMS
       
    32 {
    31 
    33 
    32 /**
    34 /**
    33  * QTMSRingTone class
    35  * QTMSRingTone class
    34  *
    36  *
    35  * This class provides ring tone playback capability to the QTMS clients.
    37  * This class provides ring tone playback capability to the QTMS clients.
    36  *
    38  *
    37  * @lib QTMSapi.lib
    39  * @lib QTMSapi.lib
    38  *
    40  *
    39  */
    41  */
    40 class QTMS_WRAPPER_DLL_EXPORT QTMSRingTone : public QObject
    42 class QTMS_WRAPPER_DLL_EXPORT QTMSRingTone : public QObject
    41     {
    43 {
    42     Q_OBJECT
    44     Q_OBJECT
    43 public:
    45 public:
    44     /**
    46     /**
    45      * Destructor
    47      * Destructor
    46      */
    48      */
    74      * @return
    76      * @return
    75      *      QTMS_RESULT_SUCCESS if the operation was successful.
    77      *      QTMS_RESULT_SUCCESS if the operation was successful.
    76      *
    78      *
    77      */
    79      */
    78     gint Init(const QTMSRingToneType type = QTMS_RINGTONE_DEFAULT,
    80     gint Init(const QTMSRingToneType type = QTMS_RINGTONE_DEFAULT,
    79             GString* str = NULL, GString* tts = NULL);
    81         GString* str = NULL, GString* tts = NULL);
    80 
    82 
    81     /**
    83     /**
    82      * Deinit ring tone player.
    84      * Deinit ring tone player.
    83      *
    85      *
    84      * @return
    86      * @return
   132      */
   134      */
   133     QTMSRingTone();
   135     QTMSRingTone();
   134 
   136 
   135 protected:
   137 protected:
   136     TMS::TMSRingTone *iRingTone;
   138     TMS::TMSRingTone *iRingTone;
   137     };
   139 };
   138 
   140 
   139 } //namespace QTMS
   141 } //namespace QTMS
   140 
   142 
   141 #endif //QTMS_RINGTONE_H
   143 #endif //QTMS_RINGTONE_H
   142 
       
   143 // End of file
   144 // End of file
   144 
   145