mmmw_plat/system_tone_service_api/tsrc/inc/systemtoneservicesactiveobj.h
changeset 31 8dfd592727cb
parent 22 128eb6a32b84
equal deleted inserted replaced
22:128eb6a32b84 31:8dfd592727cb
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 
    19 
    20 #include <e32base.h>
    20 #include <e32base.h>
       
    21 #include <e32svr.h>
       
    22 #include <StifParser.h>
       
    23 #include <StifLogger.h>
       
    24 #include <StifTestInterface.h>
    21 #include <systemtoneservice.h>
    25 #include <systemtoneservice.h>
    22 
       
    23 
    26 
    24  
    27  
    25 
    28 
    26 
    29 
    27 class CStsActiveObj : public CActive
    30 class CStsActiveObj : public CActive
    28 {
    31 {
    29     
    32     
    30     public:
    33     public:
    31     CStsActiveObj( MStsPlayAlarmObserver* aObserver);
    34     static CStsActiveObj* NewL( MStsPlayAlarmObserver* aObserver,CStifLogger* aLogger );
    32     ~CStsActiveObj();
    35     ~CStsActiveObj();
    33 
    36        
    34     
       
    35     public:     // Functions from base classes
    37     public:     // Functions from base classes
    36 
    38 
    37     /**
    39     /**
    38     * RunL derived from CActive handles the completed requests.
    40     * RunL derived from CActive handles the completed requests.
    39     */
    41     */
    46 
    48 
    47     /**
    49     /**
    48     * RunError derived from CActive handles errors from active handler.
    50     * RunError derived from CActive handles errors from active handler.
    49     */
    51     */
    50     TInt RunError( TInt aError );
    52     TInt RunError( TInt aError );
    51    
    53     
       
    54     private:
       
    55 
       
    56         /**
       
    57         * By default Symbian OS constructor is private.
       
    58         */
       
    59         void ConstructL(MStsPlayAlarmObserver* aObserver, CStifLogger* aLogger);
       
    60 
       
    61         /**
       
    62         * C++ constructor.
       
    63         */
       
    64         CStsActiveObj();
    52     
    65     
    53 
    66 
    54     private:    // Data
    67     private:    // Data
    55     MStsPlayAlarmObserver*   iObserver;
    68     MStsPlayAlarmObserver*   iObserver;
       
    69     CStifLogger* 			 iLog;
    56    
    70    
    57 
    71 
    58 };
    72 };