smsprotocols/smsstack/smsu/inc/nbbackuprestoreint.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     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 //
       
    15 
       
    16 #if !defined(__NBBACKUPANDRESTOREOBSERVER_H__)
       
    17 #define __NBBACKUPANDRESTOREOBSERVER_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <e32base.h>
       
    21 
       
    22 
       
    23 /**
       
    24  *  Nbprotocols Publish and Subscribe Backup and Restore Interface.
       
    25  *  
       
    26  *  classes should implement this interface to receive notifications
       
    27  *  when a backup or restore operation starts.
       
    28  *  
       
    29  *  @see CBackupAndRestore::RegisterBackupAndRestoreObserverL()
       
    30  *  @internalComponent
       
    31  */
       
    32 class MNBBackupAndRestoreObserver
       
    33 	{
       
    34 public:
       
    35 	// Called when a backup or restore operation either starts or ends.
       
    36 	virtual void HandleBackupOrRestoreStartingL()=0;
       
    37 	virtual void HandleBackupOrRestoreCompleteL()=0;
       
    38 	};
       
    39 
       
    40 #endif