qtmobileextensions/src/keycapture/tsrc/stub/remconcallhandlingtarget.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: CRemConCallHandlingTarget stub for testing keycapture
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CREMCONCALLHANDLINGTARGET_H
       
    20 #define CREMCONCALLHANDLINGTARGET_H
       
    21 
       
    22 #include <e32base.h>
       
    23 //#include <remcon/remconinterfacebase.h>
       
    24 
       
    25 class CRemConInterfaceSelector;
       
    26 class MRemConCallHandlingTargetObserver;
       
    27 
       
    28 class CRemConCallHandlingTarget  : public CActive//, public CRemConInterfaceBase
       
    29     {
       
    30 
       
    31 public:    
       
    32     static int getCount();
       
    33     static void setNewLLeave( bool value = true );
       
    34     static void NewLLeaveIfDesiredL();
       
    35     static int getSendResponseCount();
       
    36     
       
    37     void SendResponse( TRequestStatus& aStatus,
       
    38                        TInt aOperationId, 
       
    39                        TInt aError );
       
    40     
       
    41 public:  // Constructors and destructor   
       
    42     static CRemConCallHandlingTarget* NewL(
       
    43         CRemConInterfaceSelector& aInterfaceSelector, 
       
    44         MRemConCallHandlingTargetObserver& aObserver );
       
    45     
       
    46     ~CRemConCallHandlingTarget();
       
    47     //TAny* GetInterfaceIf(TUid);
       
    48 protected:
       
    49 
       
    50     // from CActive
       
    51     virtual void DoCancel();
       
    52     virtual void RunL();
       
    53     
       
    54 private:    
       
    55     CRemConCallHandlingTarget();
       
    56     
       
    57 private:
       
    58     TRequestStatus* iClientStatus;
       
    59     
       
    60 };
       
    61 
       
    62 #endif      // CREMCONCALLHANDLINGTARGET_H
       
    63 
       
    64 // end of file
       
    65