brandingserver/inc/mbsbackupobserver.h
changeset 0 e6b17d312c8b
child 21 cfd5c2994f10
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     1 /*
       
     2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Backup and Restore observer interface
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MBSBACKUPOBSERVER_H
       
    20 #define __MBSBACKUPOBSERVER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 /**
       
    25  * Observer interface for backup and restore events
       
    26  * @since S60 v3.2
       
    27  */
       
    28 NONSHARABLE_CLASS( MBSBackupObserver )
       
    29     {
       
    30     public:
       
    31     
       
    32         // Backup and restore states
       
    33         enum TBackupState
       
    34         	{
       
    35         	EBackupNotActive,
       
    36         	EBackupActive
       
    37         	};
       
    38 
       
    39     	/*
       
    40     	* Hanlder method to receive observer events
       
    41     	* @param aEvent new state of backup and restore
       
    42     	*/
       
    43 		virtual void HandleBackupStateL( TBackupState aState ) = 0;
       
    44 		
       
    45 		/*
       
    46 		* Destructor
       
    47 		*/
       
    48 	    virtual ~MBSBackupObserver() {};
       
    49     };
       
    50 
       
    51 #endif //__MBSBACKUPOBSERVER_H