lowlevellibsandfws/pluginfw/Framework/frame/BackupNotifierObserver.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 1997-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 // Provides the interface to an observer that wishes to recieve suspend 
       
    15 // and resume notifications.
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef __MBACKUPNOTIFIEROBSERVER_H__
       
    20 #define __MBACKUPNOTIFIEROBSERVER_H__
       
    21 
       
    22 
       
    23 class MBackupNotifierObserver
       
    24 /**
       
    25 @internalComponent
       
    26 */
       
    27 	{
       
    28 	public:
       
    29 	/**
       
    30 		@fn				Suspend()
       
    31 		Intended Usage	: Provides suspension of behaviour in the class 
       
    32 						implementing this interface.
       
    33 		Error Condition	: Dependent upon the implementation class Suspend().
       
    34 		@since			7.0
       
    35 		@pre 			Implementation class has been fully constructed.
       
    36 		@post			Some action has been taken to change the behaviour
       
    37 						of the implementation class of this interface.
       
    38 	 */
       
    39 	
       
    40 	virtual TInt Suspend() = 0;
       
    41 
       
    42 	/**
       
    43 		@fn				Resume()
       
    44 		Intended Usage	: Provides resumption of suspended behaviour in the class 
       
    45 						implementing this interface.
       
    46 		Error Condition	: Dependent upon the implementation class Resume().
       
    47 		@since			7.0
       
    48 		@pre 			Implementation class has been fully constructed.
       
    49 		@post			Some action has been taken to change the behaviour
       
    50 						of the implementation class of this interface.
       
    51 	 */
       
    52 	
       
    53 	virtual TInt Resume() = 0;
       
    54 	};
       
    55 
       
    56 #endif // __MBACKUPNOTIFIEROBSERVER_H__