PECengine/ListLibrary2/ContactListSrc/CPEngContactListMngTransAddId.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     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:  Contact list add contact handler.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CPENGCONTACTLISTMNGTRANSADDID_H__
       
    19 #define __CPENGCONTACTLISTMNGTRANSADDID_H__
       
    20 
       
    21 //  INCLUDES
       
    22 #include "CPEngContactListMngTransBase.h"
       
    23 
       
    24 
       
    25 /**
       
    26  * Contact list add contact handler.
       
    27  *
       
    28  * @lib PEngListLib2
       
    29  * @since 3.0
       
    30  */
       
    31 NONSHARABLE_CLASS( CPEngContactListMngTransAddId ) :
       
    32         public CPEngContactListMngTransBase
       
    33     {
       
    34 public:
       
    35 
       
    36     /**
       
    37      * Two-phased constructor.
       
    38      */
       
    39     static CPEngContactListMngTransAddId* NewLC(
       
    40         CPEngContactListModBase& aContactList,
       
    41         CPEngSessionSlotId& aSessionSlotId,
       
    42         TPEngWVCspVersion& aCSPVersion,
       
    43         TInt aOperationId );
       
    44 
       
    45     /**
       
    46      * Destructor.
       
    47      */
       
    48     virtual ~CPEngContactListMngTransAddId();
       
    49 
       
    50 
       
    51 public: // From CPEngContactListMngTransBase
       
    52 
       
    53     /**
       
    54      * Appends add nick list XML message
       
    55      * @see <CPEngContactListMngTransBase.h>
       
    56      */
       
    57     void DoAppendListNickUpdateL( MPEngXMLSerializer& aXmlSerializer );
       
    58 
       
    59 
       
    60     /**
       
    61      * Append subscription update XML message
       
    62      * @see <CPEngContactListMngTransBase.h>
       
    63      */
       
    64     void DoGetXMLSubscriptionUpdateL( MPEngXMLSerializer& aXmlSerializer );
       
    65 
       
    66 
       
    67     /**
       
    68      * Parse subscription update response
       
    69      * @see <CPEngContactListMngTransBase.h>
       
    70      */
       
    71     void DoParseSubscriptionUpdateResponseL( const TDesC8& aResponse );
       
    72 
       
    73 
       
    74     /**
       
    75      * Update Transaction State
       
    76      * @see <CPEngContactListMngTransBase.h>
       
    77      */
       
    78     void DoUpdateTransactionState();
       
    79 
       
    80 
       
    81     /**
       
    82      * Fill nick list of the update
       
    83      * @see <CPEngContactListMngTransBase.h>
       
    84      */
       
    85     void DoFillNickListLC(
       
    86         RPointerArray<CPEngContactListModItemContainer>& aNickList );
       
    87 
       
    88     /**
       
    89      * Complete contact list update
       
    90      * @see <CPEngContactListMngTransBase.h>
       
    91      */
       
    92     void DoCompleteContactListUpdateL();
       
    93 
       
    94 
       
    95 private: // Constructors
       
    96 
       
    97     /**
       
    98      * C++ constructor.
       
    99      */
       
   100     CPEngContactListMngTransAddId( CPEngContactListModBase& aContactList,
       
   101                                    CPEngSessionSlotId& aSessionSlot,
       
   102                                    TPEngWVCspVersion& aCSPVersion,
       
   103                                    TInt aOperationId );
       
   104 
       
   105     /**
       
   106      * Symbian constructor.
       
   107      */
       
   108     void ConstructL();
       
   109 
       
   110     };
       
   111 
       
   112 #endif      //  __CPENGCONTACTLISTMNGTRANSADDID_H__
       
   113 
       
   114 
       
   115 //  End of File
       
   116 
       
   117