qtmobileextensions/src/keycapture/tsrc/stub/remconinterfaceselector.h
changeset 26 3d09643def13
equal deleted inserted replaced
24:9d760f716ca8 26:3d09643def13
       
     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: remconinterfaceselector stub for testing keycapture
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef REMCONINTERFACESELECTOR_H
       
    20 #define REMCONINTERFACESELECTOR_H
       
    21 
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 //forward declarations
       
    26 class CRemConCallHandlingTarget;
       
    27 class CRemConCoreApiTarget;
       
    28 
       
    29 class CRemConInterfaceSelector : public CBase
       
    30     {
       
    31 
       
    32 public:
       
    33     
       
    34     static int getCount();
       
    35     static void setNewLLeave();
       
    36     static void NewLLeaveIfDesiredL();
       
    37     static void setOpenTargetLLeave();
       
    38     static void OpenTargetLLeaveIfDesiredL();
       
    39     
       
    40 public:
       
    41 
       
    42     static CRemConInterfaceSelector* NewL();
       
    43     virtual ~CRemConInterfaceSelector();
       
    44     void RegisterInterface();
       
    45     void OpenTargetL();
       
    46     void RegisterCallHandlingL( CRemConCallHandlingTarget* );
       
    47     void RegisterCoreApiL(CRemConCoreApiTarget* );
       
    48     
       
    49 private:
       
    50     
       
    51     CRemConInterfaceSelector();
       
    52     RPointerArray<CRemConCallHandlingTarget> iCallHandlingArray;
       
    53     RPointerArray<CRemConCoreApiTarget> iCoreApiArray;
       
    54     };
       
    55 
       
    56 #endif      // REMCONINTERFACESELECTOR_H
       
    57 
       
    58 // End of File