mtpdataproviders/mtppictbridgedp/pictbridgeengine/inc/dpsoperation.inl
branchRCL_3
changeset 19 0aa8cc770c8a
equal deleted inserted replaced
18:453dfc402455 19:0aa8cc770c8a
       
     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 TMDpsOperation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ---------------------------------------------------------------------------
       
    20 // 
       
    21 // ---------------------------------------------------------------------------
       
    22 //
       
    23 TMDpsOperation::TMDpsOperation()
       
    24     {
       
    25     iOperation = EDpsEmptyRequest;
       
    26     iResult.iMajorCode = EDpsResultOk;
       
    27     iResult.iMinorCode = EDpsResultNone;
       
    28     }
       
    29 
       
    30 // ---------------------------------------------------------------------------
       
    31 // 
       
    32 // ---------------------------------------------------------------------------
       
    33 //
       
    34 TInt TMDpsOperation::FillReqArgs(TDpsArgArray&, TDpsEleArray&,
       
    35                                  TDpsAttribute&, CDpsTransaction*)
       
    36     {
       
    37     return KErrNone;
       
    38     }
       
    39 
       
    40 // ---------------------------------------------------------------------------
       
    41 // 
       
    42 // ---------------------------------------------------------------------------
       
    43 //
       
    44 TInt TMDpsOperation::FillRepArgs(const TDpsArgArray&, CDpsTransaction*)
       
    45      {
       
    46      return KErrNone;
       
    47      } 
       
    48  
       
    49 // ---------------------------------------------------------------------------
       
    50 // 
       
    51 // ---------------------------------------------------------------------------
       
    52 //
       
    53 TDpsStartJob::TDpsStartJob() : TMDpsOperation()
       
    54     {
       
    55     iOperation = EDpsStartJob;
       
    56     }
       
    57 
       
    58 // ---------------------------------------------------------------------------
       
    59 // 
       
    60 // ---------------------------------------------------------------------------
       
    61 //
       
    62 TDpsAbortJob::TDpsAbortJob() : TMDpsOperation()
       
    63     {
       
    64     iOperation = EDpsAbortJob;
       
    65     iReqParam.iAbortStyle = EDpsAbortStyleImmediately;
       
    66     }
       
    67     
       
    68 // ---------------------------------------------------------------------------
       
    69 // 
       
    70 // ---------------------------------------------------------------------------
       
    71 //    
       
    72 TDpsContinueJob::TDpsContinueJob() : TMDpsOperation()
       
    73     {
       
    74     iOperation = EDpsContinueJob;
       
    75     }
       
    76   
       
    77 // ---------------------------------------------------------------------------
       
    78 // 
       
    79 // ---------------------------------------------------------------------------
       
    80 //    
       
    81 TDpsGetJobStatus::TDpsGetJobStatus() : TMDpsOperation()
       
    82     {
       
    83     iOperation = EDpsGetJobStatus;
       
    84     }
       
    85 
       
    86 // ---------------------------------------------------------------------------
       
    87 // 
       
    88 // ---------------------------------------------------------------------------
       
    89 //    
       
    90 TDpsGetPrinterStatus::TDpsGetPrinterStatus() : TMDpsOperation()
       
    91     {
       
    92     iOperation = EDpsGetPrinterStatus;
       
    93     iRepParam = TDpsPrinterStatusRep();
       
    94     }
       
    95 
       
    96 // ---------------------------------------------------------------------------
       
    97 // 
       
    98 // ---------------------------------------------------------------------------
       
    99 //    
       
   100 TDpsGetCapability::TDpsGetCapability() : TMDpsOperation()
       
   101     {
       
   102     iOperation = EDpsGetCapability;
       
   103     iReqParam = TDpsCapReq();
       
   104     }
       
   105  
       
   106 // ---------------------------------------------------------------------------
       
   107 // 
       
   108 // ---------------------------------------------------------------------------
       
   109 //    
       
   110 TDpsConfigPrintService::TDpsConfigPrintService() : TMDpsOperation()
       
   111     {
       
   112     iOperation = EDpsConfigPrintService;         
       
   113     }