diff -r 453dfc402455 -r 0aa8cc770c8a mtpdataproviders/mtppictbridgedp/pictbridgeengine/inc/dpsoperation.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mtpdataproviders/mtppictbridgedp/pictbridgeengine/inc/dpsoperation.inl Tue Aug 31 16:03:15 2010 +0300 @@ -0,0 +1,113 @@ +/* +* Copyright (c) 2006, 2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: inline functions of TMDpsOperation +* +*/ + + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TMDpsOperation::TMDpsOperation() + { + iOperation = EDpsEmptyRequest; + iResult.iMajorCode = EDpsResultOk; + iResult.iMinorCode = EDpsResultNone; + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TInt TMDpsOperation::FillReqArgs(TDpsArgArray&, TDpsEleArray&, + TDpsAttribute&, CDpsTransaction*) + { + return KErrNone; + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TInt TMDpsOperation::FillRepArgs(const TDpsArgArray&, CDpsTransaction*) + { + return KErrNone; + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TDpsStartJob::TDpsStartJob() : TMDpsOperation() + { + iOperation = EDpsStartJob; + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TDpsAbortJob::TDpsAbortJob() : TMDpsOperation() + { + iOperation = EDpsAbortJob; + iReqParam.iAbortStyle = EDpsAbortStyleImmediately; + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TDpsContinueJob::TDpsContinueJob() : TMDpsOperation() + { + iOperation = EDpsContinueJob; + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TDpsGetJobStatus::TDpsGetJobStatus() : TMDpsOperation() + { + iOperation = EDpsGetJobStatus; + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TDpsGetPrinterStatus::TDpsGetPrinterStatus() : TMDpsOperation() + { + iOperation = EDpsGetPrinterStatus; + iRepParam = TDpsPrinterStatusRep(); + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TDpsGetCapability::TDpsGetCapability() : TMDpsOperation() + { + iOperation = EDpsGetCapability; + iReqParam = TDpsCapReq(); + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +TDpsConfigPrintService::TDpsConfigPrintService() : TMDpsOperation() + { + iOperation = EDpsConfigPrintService; + }