locationtriggering/ltserver/ltserverlogic/inc/lbtbackuprestoreobserver.h
changeset 56 4e949f03ecc5
equal deleted inserted replaced
-1:000000000000 56:4e949f03ecc5
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Provides an observer interface for backup and restore listener
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_LBTSBACKUPRESTOREOBSERVER_H
       
    20 #define M_LBTSBACKUPRESTOREOBSERVER_H
       
    21 
       
    22 /**
       
    23  * System state starter listener provides this to notify
       
    24  * when system state is ready for server loading
       
    25  *
       
    26  * @since S60 v4.0
       
    27  */
       
    28 class MLbtBackupRestoreObserver
       
    29 	{
       
    30 	public:
       
    31 		
       
    32 		// Enumeration to determine if a backp or restore operation
       
    33 		// has started or ended		
       
    34 		enum TBRState
       
    35 			{
       
    36 			EStarted, // Backup or Restore operation has started
       
    37 			EEnded,	// Backup or Restore operation has ended
       
    38 			EInProgress // Backup or Restore operation is in progress
       
    39 			};
       
    40 		/**
       
    41 		 * Notifies the observer when any backup operation
       
    42 		 * is going on
       
    43 		 *
       
    44 		 * @param[in] aState the state to which the backup or restore
       
    45 		 * operation has changed to
       
    46 		 */
       
    47 		virtual void HandleBackupRestoreOperationL( TBRState aState ) = 0;
       
    48 		
       
    49 	};
       
    50 	
       
    51 #endif //M_LBTSBACKUPRESTOREOBSERVER_H