convergedcallengine/serviceselector/src/cssservicehandlergsm.cpp
changeset 51 12bc758d6a02
parent 48 78df25012fda
child 53 25b8d29b7c59
equal deleted inserted replaced
48:78df25012fda 51:12bc758d6a02
     1 /*
       
     2 * Copyright (c) 2008 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:  This module contains the implementation of 
       
    15 *              : CSsServiceHandlerGsm class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 //  INCLUDE FILES
       
    21 #include "cssservicehandlergsm.h"
       
    22 #include "cssserviceutilities.h"
       
    23 #include "csslogger.h"
       
    24 
       
    25 // CONSTANTS
       
    26 // CS service id
       
    27 const TInt KGSMServiceId = 1;
       
    28 
       
    29 
       
    30 // ================= MEMBER FUNCTIONS =======================================
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // CSsServiceHandlerGsm::CSsServiceHandlerGsm
       
    34 // C++ constructor can NOT contain any code, that
       
    35 // might leave.
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 CSsServiceHandlerGsm::CSsServiceHandlerGsm
       
    39         ( 
       
    40         // None.
       
    41         )
       
    42     {
       
    43     }
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // CSsServiceHandlerGsm::NewL
       
    47 // Two-phased constructor.
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 CSsServiceHandlerGsm* CSsServiceHandlerGsm::NewL
       
    51         ( 
       
    52         // None.
       
    53         )
       
    54     {
       
    55     CSsServiceHandlerGsm* self = new(ELeave) CSsServiceHandlerGsm();
       
    56     return self;
       
    57     }
       
    58 
       
    59 // Destructor
       
    60 CSsServiceHandlerGsm::~CSsServiceHandlerGsm
       
    61         (
       
    62         // None.
       
    63         )
       
    64     {
       
    65 
       
    66     }
       
    67 
       
    68 // -----------------------------------------------------------------------------
       
    69 // CSsServiceHandlerGsm::ExecuteServiceSelectionL
       
    70 // Gets the calling service by current call type and service id.
       
    71 // -----------------------------------------------------------------------------
       
    72 //
       
    73 void CSsServiceHandlerGsm::ExecuteServiceSelectionL
       
    74         ( 
       
    75         CConvergedServiceSelector::TSsResult& aResult, 
       
    76         CConvergedServiceSelector::TSsCallType aCallType,
       
    77         TUint /*aServiceId*/,
       
    78         TBool /*aSendKey*/,
       
    79         const TDesC& /*aString*/ 
       
    80         )
       
    81     {
       
    82     CSSLOGSTRING("CSSelector::ExecuteGsm");
       
    83     
       
    84     // Set correct service id and call type ( CS voice or video call ).
       
    85     SsServiceUtilities::SetServiceResult( aResult,
       
    86                                           aCallType,
       
    87                                           KGSMServiceId,
       
    88                                           ETrue );
       
    89             
       
    90     }
       
    91 
       
    92 // ================= OTHER EXPORTED FUNCTIONS ===============================
       
    93 
       
    94 //  End of File