epoc32/include/mcontactbackupobserver.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 mcontactbackupobserver.h
     1 // Copyright (c) 2004-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __MCONTACTBACKUPOBSERVER_H__
       
    17 #define __MCONTACTBACKUPOBSERVER_H__
       
    18 
       
    19 
       
    20 class MContactBackupObserver
       
    21 /**	
       
    22 	An observer class to which Contacts model clients should 
       
    23 	subscribe in order to be informed about the progress of 
       
    24 	a backup or restore operation.
       
    25 
       
    26 	@publishedAll
       
    27 	@released
       
    28 */
       
    29 	{
       
    30 public:
       
    31 /**	
       
    32 	Provides notification that a backup operation is to begin.
       
    33 	The Contacts model client should not access the contacts database for 
       
    34 	writing until BackupRestoreCompletedL() is called.
       
    35 */
       
    36 	virtual void BackupBeginningL()	= 0;
       
    37 
       
    38 /**	
       
    39 	Provides notification that a restore operation is to begin.
       
    40 	The Contacts model client should not access the contacts database at all 
       
    41 	until BackupRestoreCompletedL() is called.
       
    42 */
       
    43 	virtual void RestoreBeginningL() = 0;
       
    44 
       
    45 /**	
       
    46 	Provides notification that a backup/restore operation is complete.
       
    47 	The contacts database can be accessed again.
       
    48 */
       
    49 	virtual void BackupRestoreCompletedL() = 0;
       
    50 
       
    51 	};
       
    52 
       
    53 
       
    54 #endif // __MCONTACTBACKUPOBSERVER_H__