Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #if !defined(__IMAPCONNECTIONOBSERVER_H__)
17 #define __IMAPCONNECTIONOBSERVER_H__
19 /** IMAP4 connection observer events.
21 @see MMsvImapConnectionObserver
25 enum TImapConnectionEvent
27 /** Connecting to server. */
29 /** Synchronising folder list. */
30 ESynchronisingFolderList,
31 /** Synchronising inbox. */
33 /** Synchronising folders. */
34 ESynchronisingFolders,
35 /** Synchronisation complete. */
36 ESynchronisationComplete,
39 /** Connection completed. */
43 // Mix-in class to allow observation of the stages of an IMAP operation
45 class MMsvImapConnectionObserver
46 /** Abstract base class used for IMAP4 connection observation.
48 A derived class to handle IMAP4 connection events should override the HandleImapConnectionEvent()
51 Objects that implement this interface are passed as a packaged parameter
52 to CImap4ClientMtm::InvokeAsyncFunctionL() when a connection command is issued.
61 /** Called when a connection event occurs.
63 @param aConnectionState Connection event */
64 virtual void HandleImapConnectionEvent(TImapConnectionEvent aConnectionState)=0;