xdmprotocols/XcapProtocol/XcapOperations/inc/XcapInsertion.h
branchRCL_3
changeset 17 2669f8761a99
parent 16 2580314736af
child 18 fbd2e7cec7ef
equal deleted inserted replaced
16:2580314736af 17:2669f8761a99
     1 /*
       
     2 * Copyright (c) 2005 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:   CXcapInsertion
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __XCAPINSERTION__
       
    22 #define __XCAPINSERTION__
       
    23 
       
    24 #include <e32base.h>
       
    25 #include "XcapHttpOperation.h"
       
    26 
       
    27 //FORWARD DECLARATIONS
       
    28 class CXcapHttpReqPut;
       
    29 class CXcapDocumentNode;
       
    30 
       
    31 //CLASS DECLARATION
       
    32 NONSHARABLE_CLASS( CXcapInsertion ) : public CXcapHttpOperation
       
    33     {
       
    34     public:
       
    35 
       
    36         /**
       
    37         * Symbian OS default constructor.
       
    38         * @param TInt Default Access Point ID
       
    39         * @return CXdmDocOperation*
       
    40         */     
       
    41         static CXcapInsertion* NewL( CXcapDocument& aParentDoc,
       
    42                                      CXcapDocumentNode* aDocumentExtents,
       
    43                                      CXcapOperationFactory& iOperationFactory );
       
    44         
       
    45         /**
       
    46         * Handle a successful operation
       
    47         */      
       
    48         virtual void OperationCompleteL();
       
    49         
       
    50         /**
       
    51         * Handle a failed operation
       
    52         */      
       
    53         virtual void OperationFailedL();
       
    54 
       
    55         /**
       
    56         * Destructor.
       
    57         */      
       
    58         virtual TBool Result() const;
       
    59 
       
    60         /**
       
    61         * Destructor.
       
    62         */      
       
    63         virtual ~CXcapInsertion();
       
    64 
       
    65     private:  //Methods
       
    66         
       
    67         /**
       
    68         * Symbian OS default constructor.
       
    69         * @param TInt Default Access Point ID
       
    70         * @return CXdmDocOperation*
       
    71         */     
       
    72         CXcapInsertion( CXcapDocument& aParentDoc,
       
    73                         CXcapDocumentNode* aDocumentSubset,
       
    74                         CXcapOperationFactory& iOperationFactory );
       
    75         
       
    76         /**
       
    77         * Symbian OS default constructor.
       
    78         * @param TInt Default Access Point ID
       
    79         * @return CXdmDocOperation*
       
    80         */     
       
    81         void ConstructL();
       
    82         
       
    83         /**
       
    84         * Symbian OS default constructor.
       
    85         * @param TInt Default Access Point ID
       
    86         * @return CXdmDocOperation*
       
    87         */     
       
    88         void ExecuteL();
       
    89         
       
    90         /**
       
    91         * Symbian OS default constructor.
       
    92         * @param TInt Default Access Point ID
       
    93         * @return CXdmDocOperation*
       
    94         */     
       
    95         virtual TInt FormatModRequestL( const CXdmDocumentNode* aDocumentNode );
       
    96 
       
    97     private:  //Data
       
    98 
       
    99         TXdmOperationType               iOperationType;
       
   100     };
       
   101 
       
   102 #endif      //__XCAPINSERTION__
       
   103             
       
   104 // End of File