brandingserver/Inc/mbsbrandchangeobserver.h
changeset 31 9dbc70490d9a
child 33 bb46c9d56bcb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/brandingserver/Inc/mbsbrandchangeobserver.h	Sun Apr 11 15:33:49 2010 +0530
@@ -0,0 +1,53 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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:  MBSBrandChangeObserver 
+*
+*/
+
+
+
+
+#ifndef __MBSBRANDCHANGEOBSERVER_H
+#define __MBSBRANDCHANGEOBSERVER_H
+
+#include <E32Std.h>
+
+
+/**
+ * An interface through which client gets information
+ * about available brand data updates.
+ *
+ * @since
+ */
+class MBSBrandChangeObserver
+    {
+    public:
+
+    	/*
+    	* Gets called when brand data update is available.
+    	* Client can then decide wether to use the old one
+    	* or the updated one.
+    	* @return ETrue if observer should continue observing
+    	*/
+        virtual TBool BrandUpdateAvailable( TInt aNewVersion ) = 0;
+
+
+protected:
+    	/*
+    	* Destructor
+    	*/
+    	virtual ~MBSBrandChangeObserver() {};
+    };
+
+#endif //__MBSBRANDCHANGEOBSERVER_H