mtpdataproviders/mtppictbridgedp/pictbridgeengine/src/dpsparam.cpp
branchRCL_3
changeset 20 4a793f564d72
parent 19 0aa8cc770c8a
child 21 74aa6861c87d
--- a/mtpdataproviders/mtppictbridgedp/pictbridgeengine/src/dpsparam.cpp	Tue Aug 31 16:03:15 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-/*
-* 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 dps parameter. 
-*
-*/
-
-
-#include "dpsparam.h"
-
-// ---------------------------------------------------------------------------
-// 
-// ---------------------------------------------------------------------------
-//    
-EXPORT_C void TDpsPrintInfo::Reset()
-    {
-    isDPOF = EFalse; iFileID = 0; iFileName = EFalse; iDate.Zero(); 
-    iCopies = 0; iPrtPID = 0; iCopyID = 0;
-    }
- 
-// ---------------------------------------------------------------------------
-// 
-// ---------------------------------------------------------------------------
-//    
-EXPORT_C TInt TDpsStartJobReq::GetParamNum()
-    {
-    TInt num = iJobConfig.Count(), count = iPrintInfo.Count();
-	for (TInt i = 0; i < count; i++)
-	    {
-	    // there is always fileID field
-	    num++;
-	    if (iPrintInfo[i].iFileName)
-	        {
-	        num++;
-	        }
-	    if (iPrintInfo[i].iDate.Size())
-	        {
-	        num++;
-	        }
-	    if (iPrintInfo[i].iCopies !=0)
-	        {
-	        num++;
-	        }
-	    if (iPrintInfo[i].iPrtPID != 0)
-	        {
-	        num++;
-	        }             
-	        
-	    if (iPrintInfo[i].iCopyID != 0)
-	        {
-	        num++;
-	        }    
-	    }
-	return num;   
-	}
-    
-// ---------------------------------------------------------------------------
-// 
-// ---------------------------------------------------------------------------
-//    	
-EXPORT_C void TDpsJobStatusRep::Reset()
-    {
-    iProgress = 0; iImagesPrinted = 0; iFilePath.Zero(); 
-    iPrtPID = 0; iCopyID = 0;
-    }