2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * CUCCSDeviceControl Class
20 #ifndef _CUCCSDeviceControl_H
21 #define _CUCCSDeviceControl_H
24 /*****************************************************************************
28 ****************************************************************************/
32 #include <cuccsdeviceprotocol.h>
34 /*****************************************************************************
38 ****************************************************************************/
41 /*****************************************************************************
45 ****************************************************************************/
55 TDC_RECORDIDNOTSPECIFIED,
56 TDC_COMMANDLINETOOLONG
60 /*****************************************************************************
64 ****************************************************************************/
65 class CUCCSDeviceControl : CBase
68 // Construction / Destruction
69 IMPORT_C static CUCCSDeviceControl* New();
70 IMPORT_C ~CUCCSDeviceControl();
73 IMPORT_C TUint connectL( TDesC *aRemoteHost, TDPTransport aTransportType = TDP_SERIAL );
74 IMPORT_C TUint startUseCase( TUint aData, int *aErrorCode );
75 IMPORT_C TUint signal( TUint aData, int *aErrorCode );
76 IMPORT_C TUint waitfor( TUint aData, int *aErrorCode );
77 IMPORT_C TUint rendezvous( TUint aData, int *aErrorCode );
78 IMPORT_C TUint endUseCase( TUint aUseCaseData, TUint aResult, int *aErrorCode );
79 IMPORT_C TUint getVariableName( char* aVariableName, char* aOutputBuffer, int aOutputBufferSize, int *aErrorCode );
80 IMPORT_C TUint runCommandL( char* aCommandLine, int *aErrorCode );
87 CUCCSDeviceProtocol *iProtocol;