usbclasses/pictbridgeengine/inc/dpsparam.inl
changeset 0 1e05558e2206
equal deleted inserted replaced
-1:000000000000 0:1e05558e2206
       
     1 /*
       
     2 * Copyright (c) 2006, 2007 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:  inline functions of dps parameter. 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ---------------------------------------------------------------------------
       
    20 // 
       
    21 // ---------------------------------------------------------------------------
       
    22 //
       
    23 TDpsPrintInfo::TDpsPrintInfo()
       
    24     {
       
    25     Reset();
       
    26     }
       
    27     
       
    28 // ---------------------------------------------------------------------------
       
    29 // 
       
    30 // ---------------------------------------------------------------------------
       
    31 //    
       
    32 void TDpsConfigPrintReq::Reset()
       
    33     {
       
    34     iDpsVersions.Reset();
       
    35     }
       
    36     
       
    37 // ---------------------------------------------------------------------------
       
    38 // 
       
    39 // ---------------------------------------------------------------------------
       
    40 //    
       
    41 TDpsConfigPrintReq::~TDpsConfigPrintReq()
       
    42     {
       
    43     iDpsVersions.Close();
       
    44     }       
       
    45 
       
    46 // ---------------------------------------------------------------------------
       
    47 // 
       
    48 // ---------------------------------------------------------------------------
       
    49 //    
       
    50 TDpsCapRep::~TDpsCapRep()    
       
    51     {
       
    52     Reset();
       
    53     }    
       
    54 
       
    55 // ---------------------------------------------------------------------------
       
    56 // 
       
    57 // ---------------------------------------------------------------------------
       
    58 //    
       
    59 void TDpsStartJobReq::Reset()
       
    60     {
       
    61     iJobConfig.Reset();
       
    62     iPrintInfo.Reset();
       
    63     }   
       
    64 
       
    65 // ---------------------------------------------------------------------------
       
    66 // 
       
    67 // ---------------------------------------------------------------------------
       
    68 //	
       
    69 TDpsStartJobReq::~TDpsStartJobReq() 
       
    70     {
       
    71 	iJobConfig.Close();
       
    72 	iPrintInfo.Close();
       
    73 	}
       
    74 	
       
    75 // ---------------------------------------------------------------------------
       
    76 // 
       
    77 // ---------------------------------------------------------------------------
       
    78 //			    
       
    79 void TDpsCapRep::Reset()
       
    80     {
       
    81     iContent.Reset();
       
    82     iPaperType.Close();
       
    83     }
       
    84     
       
    85 // ---------------------------------------------------------------------------
       
    86 // 
       
    87 // ---------------------------------------------------------------------------
       
    88 //			        
       
    89 TDpsJobStatusRep::TDpsJobStatusRep()    
       
    90     {
       
    91     Reset();
       
    92     }