diff -r 000000000000 -r e6b17d312c8b brandingserver/inc/mbsbackuprestorestateobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/brandingserver/inc/mbsbackuprestorestateobserver.h Thu Dec 17 08:54:49 2009 +0200 @@ -0,0 +1,50 @@ +/* +* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: MBS Backup restore observer definition. +* +*/ + + + +#ifndef __MBSBACKUPRESTORESTATEOBSERVER_H +#define __MBSBACKUPRESTORESTATEOBSERVER_H + +#include + + +/** + * An interface through which client gets information + * about available brand data updates. + * + * @since + */ +class MBSBackupRestoreStateObserver + { + public: + + /* + * Gets called when backup restore operation begins or ends + * Client can then decide wether to store accessing date or not + * @return ETrue if observer should continue observing + */ + virtual TBool BackupRestoreActivated(TInt activeState) = 0 ; + +protected: + /* + * Destructor + */ + virtual ~MBSBackupRestoreStateObserver() {}; + }; + +#endif //__MBSBACKUPRESTORESTATEOBSERVER_H