mmserv/voipaudioservices/VoIPServer/inc/VoIPECallEventHandler.h
changeset 0 71ca22bcf22a
child 6 e35735ece90c
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     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: VoIP Auddio Services
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef VOIPECALLENTHANDLER_H
       
    19 #define VOIPECALLENTHANDLER_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32base.h>
       
    23 #include <e32property.h>
       
    24 #include "voipserver.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 class CVoIPECallEventHandler : public CActive
       
    28     {
       
    29 public:
       
    30     /**
       
    31      * Two-phased constructor.
       
    32      */
       
    33     static CVoIPECallEventHandler* NewL(CVoIPAudioServer* aServer);
       
    34 
       
    35     /**
       
    36      * Destructor.
       
    37      */
       
    38     virtual ~CVoIPECallEventHandler();
       
    39 
       
    40 private:
       
    41     /**
       
    42      * From CActive
       
    43      * Cancel outstanding request
       
    44      */
       
    45     void DoCancel();
       
    46 
       
    47     /**
       
    48      * From CActive
       
    49      * Implementation of CActive::RunL.
       
    50      * Called when server request has completed.
       
    51      **/
       
    52     void RunL();
       
    53 
       
    54 private:
       
    55 
       
    56     /**
       
    57      * C++ default constructor.
       
    58      */
       
    59     CVoIPECallEventHandler(CVoIPAudioServer* aServer);
       
    60 
       
    61     /**
       
    62      * By default Symbian 2nd phase constructor is private.
       
    63      */
       
    64     void ConstructL();
       
    65 
       
    66 private:
       
    67     CVoIPAudioServer* iVasServer;
       
    68     RProperty iProperty;
       
    69     };
       
    70 
       
    71 #endif  // VOIPECALLENTHANDLER_H
       
    72 
       
    73 // End of File