brandingserver/Inc/mbsbackuprestorestateobserver.h
changeset 31 9dbc70490d9a
child 33 bb46c9d56bcb
equal deleted inserted replaced
30:1fa9b890f29c 31:9dbc70490d9a
       
     1 /*
       
     2 * Copyright (c) 2007 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:  MBS Backup restore observer definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __MBSBACKUPRESTORESTATEOBSERVER_H
       
    22 #define __MBSBACKUPRESTORESTATEOBSERVER_H
       
    23 
       
    24 #include <E32Std.h>
       
    25 
       
    26 
       
    27 /**
       
    28  * An interface through which client gets information
       
    29  * about available brand data updates.
       
    30  *
       
    31  * @since
       
    32  */
       
    33 class MBSBackupRestoreStateObserver
       
    34     {
       
    35     public:
       
    36 
       
    37     	/*
       
    38     	* Gets called when backup restore operation begins or ends
       
    39     	* Client can then decide wether to store accessing date or not
       
    40     	* @return ETrue if observer should continue observing
       
    41     	*/
       
    42 		virtual TBool BackupRestoreActivated(TInt activeState) = 0 ;
       
    43 
       
    44 protected:
       
    45     	/*
       
    46     	* Destructor
       
    47     	*/
       
    48     	virtual ~MBSBackupRestoreStateObserver() {};
       
    49     };
       
    50 
       
    51 #endif //__MBSBACKUPRESTORESTATEOBSERVER_H