testexecmgmt/ucc/Source/Uccs.v2/DeviceControlChannel/CApplicationControlNull.h
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     1 /*
       
     2 * Copyright (c) 2005-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:  
       
    15 * CApplicationControlNull
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __CAPPLICATIONCONTROLNULL_H__
       
    22 #define __CAPPLICATIONCONTROLNULL_H__
       
    23 
       
    24 
       
    25 /*************************************************************************************
       
    26  *
       
    27  * Local Includes
       
    28  *
       
    29  ************************************************************************************/
       
    30 #include "CommandControlErrors.h"
       
    31 #include "../Core/UCCS_Interfaces.h"
       
    32 
       
    33 
       
    34 /*************************************************************************************
       
    35  *
       
    36  * Types
       
    37  *
       
    38  ************************************************************************************/
       
    39 typedef struct {
       
    40 	int iUsecaseID;
       
    41 	int iRendezvousCount;
       
    42 	int iInteractiveFlag;
       
    43 } TArgs;
       
    44 
       
    45 
       
    46 /*************************************************************************************
       
    47  *
       
    48  * class CApplicationControlNull
       
    49  *
       
    50  ************************************************************************************/
       
    51 class CApplicationControlNull : public IRemoteControl
       
    52 {
       
    53 public:
       
    54 	CApplicationControlNull( MUccsControl *aCallBackService, IOutput *aOutput );	
       
    55 	~CApplicationControlNull();
       
    56 
       
    57 	// from IRemoteControl
       
    58 	virtual TCommandControlError Start( TRemoteControlTransport aTransport, char* aPortname, int *aErrorCode, int *aScriptError );
       
    59 
       
    60 private:
       
    61 	int ParseArgumentString( char *str );
       
    62 
       
    63 	MUccsControl *iCallBackService;
       
    64 	IOutput *iOutput;
       
    65 	TArgs iArgs;
       
    66 };
       
    67 
       
    68 #endif // __CAPPLICATIONCONTROLNULL_H__