mmserv/tms/tmsserver/inc/tmstareventhandler.h
branchRCL_3
changeset 10 3d8c721bf319
child 33 5e8b14bae8c3
equal deleted inserted replaced
8:e35735ece90c 10:3d8c721bf319
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: Telephony Multimedia Service
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef TMSTAREVENTHANDLER_H
       
    19 #define TMSTAREVENTHANDLER_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32base.h>
       
    23 #include <e32property.h>
       
    24 #include "tmsserver.h"
       
    25 
       
    26 namespace TMS {
       
    27 
       
    28 // CLASS DECLARATION
       
    29 class TMSTarEventHandler : public CActive
       
    30     {
       
    31 public:
       
    32     /**
       
    33      * Two-phased constructor.
       
    34      */
       
    35     static TMSTarEventHandler* NewL(TMSServer* aServer);
       
    36 
       
    37     /**
       
    38      * Destructor.
       
    39      */
       
    40     virtual ~TMSTarEventHandler();
       
    41 
       
    42 private:
       
    43     /**
       
    44      * From CActive
       
    45      * Cancel outstanding request
       
    46      */
       
    47     void DoCancel();
       
    48 
       
    49     /**
       
    50      * From CActive
       
    51      * Implementation of CActive::RunL.
       
    52      * Called when server request has completed.
       
    53      **/
       
    54     void RunL();
       
    55 
       
    56 private:
       
    57 
       
    58     /**
       
    59      * C++ default constructor.
       
    60      */
       
    61     TMSTarEventHandler(TMSServer* aServer);
       
    62 
       
    63     /**
       
    64      * By default Symbian 2nd phase constructor is private.
       
    65      */
       
    66     void ConstructL();
       
    67 
       
    68 private:
       
    69     TMSServer* iTMSSer;
       
    70     RProperty iProperty;
       
    71     };
       
    72 
       
    73 } //namespace TMS
       
    74 
       
    75 #endif //TMSTAREVENTHANDLER_H
       
    76 
       
    77 // End of File