diff -r 000000000000 -r 094583676ce7 PECengine/ListLibrary2/ContactListSrc/CPEngContactListMngTransAddId.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PECengine/ListLibrary2/ContactListSrc/CPEngContactListMngTransAddId.h Thu Dec 17 08:41:52 2009 +0200 @@ -0,0 +1,117 @@ +/* +* Copyright (c) 2005 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: Contact list add contact handler. +* +*/ + +#ifndef __CPENGCONTACTLISTMNGTRANSADDID_H__ +#define __CPENGCONTACTLISTMNGTRANSADDID_H__ + +// INCLUDES +#include "CPEngContactListMngTransBase.h" + + +/** + * Contact list add contact handler. + * + * @lib PEngListLib2 + * @since 3.0 + */ +NONSHARABLE_CLASS( CPEngContactListMngTransAddId ) : + public CPEngContactListMngTransBase + { +public: + + /** + * Two-phased constructor. + */ + static CPEngContactListMngTransAddId* NewLC( + CPEngContactListModBase& aContactList, + CPEngSessionSlotId& aSessionSlotId, + TPEngWVCspVersion& aCSPVersion, + TInt aOperationId ); + + /** + * Destructor. + */ + virtual ~CPEngContactListMngTransAddId(); + + +public: // From CPEngContactListMngTransBase + + /** + * Appends add nick list XML message + * @see + */ + void DoAppendListNickUpdateL( MPEngXMLSerializer& aXmlSerializer ); + + + /** + * Append subscription update XML message + * @see + */ + void DoGetXMLSubscriptionUpdateL( MPEngXMLSerializer& aXmlSerializer ); + + + /** + * Parse subscription update response + * @see + */ + void DoParseSubscriptionUpdateResponseL( const TDesC8& aResponse ); + + + /** + * Update Transaction State + * @see + */ + void DoUpdateTransactionState(); + + + /** + * Fill nick list of the update + * @see + */ + void DoFillNickListLC( + RPointerArray& aNickList ); + + /** + * Complete contact list update + * @see + */ + void DoCompleteContactListUpdateL(); + + +private: // Constructors + + /** + * C++ constructor. + */ + CPEngContactListMngTransAddId( CPEngContactListModBase& aContactList, + CPEngSessionSlotId& aSessionSlot, + TPEngWVCspVersion& aCSPVersion, + TInt aOperationId ); + + /** + * Symbian constructor. + */ + void ConstructL(); + + }; + +#endif // __CPENGCONTACTLISTMNGTRANSADDID_H__ + + +// End of File + +