brandingserver/Inc/mbsbackupobserver.h
changeset 31 9dbc70490d9a
equal deleted inserted replaced
30:1fa9b890f29c 31:9dbc70490d9a
       
     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 the License "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 
       
    20 #ifndef __MBSBACKUPOBSERVER_H
       
    21 #define __MBSBACKUPOBSERVER_H
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 /**
       
    26  * Observer interface for backup and restore events
       
    27  * @since S60 v3.2
       
    28  */
       
    29 NONSHARABLE_CLASS( MBSBackupObserver )
       
    30     {
       
    31     public:
       
    32     
       
    33         // Backup and restore states
       
    34         enum TBackupState
       
    35         	{
       
    36         	EBackupNotActive,
       
    37         	EBackupActive
       
    38         	};
       
    39 
       
    40     	/*
       
    41     	* Hanlder method to receive observer events
       
    42     	* @param aEvent new state of backup and restore
       
    43     	*/
       
    44 		virtual void HandleBackupStateL( TBackupState aState ) = 0;
       
    45 		
       
    46 		/*
       
    47 		* Destructor
       
    48 		*/
       
    49 	    virtual ~MBSBackupObserver() {};
       
    50     };
       
    51 
       
    52 #endif //__MBSBACKUPOBSERVER_H