sl@0: /* sl@0: * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: #include "T_RBusLogicalChannelData.h" sl@0: sl@0: /*@{*/ sl@0: _LIT(KLogError, "Error=%d"); sl@0: /*@}*/ sl@0: sl@0: ////////////////////////////////////////////////////////////////////// sl@0: // Construction/Destruction sl@0: ////////////////////////////////////////////////////////////////////// sl@0: sl@0: CT_RBusLogicalChannelData::CT_RBusLogicalChannelData() sl@0: : CT_RHandleBaseData() sl@0: { sl@0: } sl@0: sl@0: CT_RBusLogicalChannelData::~CT_RBusLogicalChannelData() sl@0: /** sl@0: * Public destructor sl@0: */ sl@0: { sl@0: } sl@0: sl@0: TBool CT_RBusLogicalChannelData::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex) sl@0: /** sl@0: * Process a command read from the ini file sl@0: * sl@0: * @param aCommand The command to process sl@0: * @param aSection The section in the ini containing data for the command sl@0: * @param aAsyncErrorIndex Command index for async calls to return errors to sl@0: * sl@0: * @return ETrue if the command is processed sl@0: * sl@0: * @leave System wide error sl@0: */ sl@0: { sl@0: TBool ret=ETrue; sl@0: TInt err=KErrNone; sl@0: sl@0: ret=CT_RHandleBaseData::DoCommandL(aCommand, aSection, aAsyncErrorIndex); sl@0: sl@0: if ( err!=KErrNone ) sl@0: { sl@0: ERR_PRINTF2(KLogError, err); sl@0: SetError(err); sl@0: } sl@0: sl@0: return ret; sl@0: }