email/pop3andsmtpmtm/imapservermtm/inc/mimapsessionobserver.h
changeset 25 84d9eb65b26f
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
       
     1 // Copyright (c) 2006-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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __MIMAPSESSIONOBSERVER_H__
       
    17 #define __MIMAPSESSIONOBSERVER_H__
       
    18 
       
    19 /**
       
    20 Provides an API to allow the session to provide callback notifications to its
       
    21 parent.
       
    22 
       
    23 @internalComponent
       
    24 @released
       
    25 */
       
    26 class MImapSessionObserver
       
    27 	{
       
    28 public:
       
    29 	/**
       
    30 	Provides notification of a failure that occurs on the session while the
       
    31 	parent does not have an outstanding asynchronous operation running on it.
       
    32 	For example, this could be used to notify of an error that occurs during
       
    33 	the cancel and idle operation.
       
    34 	*/
       
    35 	virtual void NonCompletedFailure()=0;
       
    36 	};
       
    37 
       
    38 #endif	//__MIMAPSESSIONOBSERVER_H__