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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __MCONTACTBACKUPOBSERVER_H__
17 #define __MCONTACTBACKUPOBSERVER_H__
20 class MContactBackupObserver
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.
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.
36 virtual void BackupBeginningL() = 0;
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.
43 virtual void RestoreBeginningL() = 0;
46 Provides notification that a backup/restore operation is complete.
47 The contacts database can be accessed again.
49 virtual void BackupRestoreCompletedL() = 0;
54 #endif // __MCONTACTBACKUPOBSERVER_H__