mmserv/sts/stsproxy/inc/stsimplementation.h
changeset 47 c2e43643db4c
parent 42 1fa3fb47b1e3
equal deleted inserted replaced
42:1fa3fb47b1e3 47:c2e43643db4c
    13  *
    13  *
    14  * Description:
    14  * Description:
    15  * This file defines the interface to the class that provides the
    15  * This file defines the interface to the class that provides the
    16  * implementation logic of the STS API.
    16  * implementation logic of the STS API.
    17  */
    17  */
    18 
       
    19 #ifndef STSIMPLEMENTATION_H_
    18 #ifndef STSIMPLEMENTATION_H_
    20 #define STSIMPLEMENTATION_H_
    19 #define STSIMPLEMENTATION_H_
    21 
    20 
    22 #include <systemtoneservice.h>
    21 #include <systemtoneservice.h>
    23 
    22 
    28 public:
    27 public:
    29     static CStsImplementation* Create();
    28     static CStsImplementation* Create();
    30     virtual ~CStsImplementation();
    29     virtual ~CStsImplementation();
    31 public:
    30 public:
    32     void PlayTone(CSystemToneService::TToneType aTone);
    31     void PlayTone(CSystemToneService::TToneType aTone);
    33     void
    32     void PlayAlarm(CSystemToneService::TAlarmType aAlarm,
    34     PlayAlarm(CSystemToneService::TAlarmType aAlarm,
    33             unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver);
       
    34     void PlayAlarm(CSystemToneService::TToneType aTone,
    35             unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver);
    35             unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver);
    36     void StopAlarm(unsigned int aAlarmContext);
    36     void StopAlarm(unsigned int aAlarmContext);
    37     void
       
    38     PlayAlarm(CSystemToneService::TToneType aTone,
       
    39             unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver);
       
    40 private:
    37 private:
    41     CStsImplementation();
    38     CStsImplementation();
    42     bool Init();
    39     bool Init();
    43 
    40 
    44     RStsSession* iSession;
    41     RStsSession* iSession;