convergedcallengine/serviceselector/inc/cservicehandler.h
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 file contains the header file of the
       
    15 *              : MServiceHandler class.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef CSERVICEHANDLER_H
       
    22 #define CSERVICEHANDLER_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include "cconvergedserviceselector.h"
       
    26 
       
    27 
       
    28 // CONSTANTS
       
    29 //None
       
    30 
       
    31 // MACROS
       
    32 //None
       
    33 
       
    34 // DATA TYPES
       
    35 //None.
       
    36 
       
    37 // FUNCTION PROTOTYPES
       
    38 //None
       
    39 
       
    40 // FORWARD DECLARATIONS
       
    41 //None
       
    42 
       
    43 // CLASS DECLARATION
       
    44 
       
    45 /**
       
    46 *  Interface class for service handlers
       
    47 *
       
    48 *  @lib ServiceSelector.lib
       
    49 *  @since Series60_5.0
       
    50 */
       
    51 class CServiceHandler
       
    52     : public CBase
       
    53     {
       
    54 
       
    55     public: // New functions
       
    56         
       
    57         /**
       
    58         * Interface method for service handlers.
       
    59         *  -Leaves on failure, Leaves with error KErrCancel if the user
       
    60         *   cancels some of the queries.
       
    61         * @param aResult        Selection results are returned by this param.
       
    62         * @param aCallType      Current type of the call.
       
    63         * @param aServiceId     Service id of the call ( 0 meens not set ).
       
    64         * @param aSendKey       Is sendkey used for call.
       
    65         * @param aString        Phone number/address for call.
       
    66         */
       
    67         virtual void ExecuteServiceSelectionL( 
       
    68             CConvergedServiceSelector::TSsResult& aResult,
       
    69             CConvergedServiceSelector::TSsCallType aCallType, 
       
    70             TUint aServiceId,
       
    71             TBool aSendKey,
       
    72             const TDesC& aString = KNullDesC ) = 0;
       
    73    
       
    74         /**
       
    75         * Destructor.
       
    76         */
       
    77         virtual ~CServiceHandler(){};
       
    78         
       
    79     };
       
    80 
       
    81 #endif      // CSERVICEHANDLER_H
       
    82             
       
    83 // End of File