diff -r 6ca72c0fe49a -r a941bc465d9f PECengine/ListLibrary2/ContactListSrc/CPEngContactListMngTransRemoveId.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PECengine/ListLibrary2/ContactListSrc/CPEngContactListMngTransRemoveId.h Wed Sep 01 12:31:13 2010 +0100 @@ -0,0 +1,120 @@ +/* +* 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: Update handler to remove contacts from contact list +* +*/ + +#ifndef __CPENGCONTACTLISTMNGTRANSREMOVEID_H__ +#define __CPENGCONTACTLISTMNGTRANSREMOVEID_H__ + + +// INCLUDES +#include "CPEngContactListMngTransBase.h" + + +// CLASS DECLARATION + +/** + * Handler to update contact lists content. + * Handler removes contacts from contact list + * + * @lib PEngListLib2 + * @since 3.0 + */ +NONSHARABLE_CLASS( CPEngContactListMngTransRemoveId ): + public CPEngContactListMngTransBase + { +public: + + /** + * Two-phased constructor. + * Contact list reference counted + */ + static CPEngContactListMngTransRemoveId* NewLC( + CPEngContactListModBase& aContactList, + CPEngSessionSlotId& aSessionSlotId, + TPEngWVCspVersion& aCSPVersion, + TInt aOperationId ); + + /** + * Destructor. + */ + virtual ~CPEngContactListMngTransRemoveId(); + + +public: // From CPEngContactListMngTransBase + + /** + * Appends remove 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 file + */ + void DoCompleteContactListUpdateL(); + + +private: // Constructors + + /** + * C++ constructor. + */ + CPEngContactListMngTransRemoveId( CPEngContactListModBase& aContactList, + CPEngSessionSlotId& aSessionSlot, + TPEngWVCspVersion& aCSPVersion, + TInt aOperationId ); + + /** + * Symbian OS constructor. + */ + void ConstructL(); + }; + +#endif // __CPENGCONTACTLISTMNGTRANSREMOVEID_H__ + + +// End of File +