brandingserver/Inc/mbsbrandchangeobserver.h
changeset 31 9dbc70490d9a
child 33 bb46c9d56bcb
equal deleted inserted replaced
30:1fa9b890f29c 31:9dbc70490d9a
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  MBSBrandChangeObserver 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __MBSBRANDCHANGEOBSERVER_H
       
    22 #define __MBSBRANDCHANGEOBSERVER_H
       
    23 
       
    24 #include <E32Std.h>
       
    25 
       
    26 
       
    27 /**
       
    28  * An interface through which client gets information
       
    29  * about available brand data updates.
       
    30  *
       
    31  * @since
       
    32  */
       
    33 class MBSBrandChangeObserver
       
    34     {
       
    35     public:
       
    36 
       
    37     	/*
       
    38     	* Gets called when brand data update is available.
       
    39     	* Client can then decide wether to use the old one
       
    40     	* or the updated one.
       
    41     	* @return ETrue if observer should continue observing
       
    42     	*/
       
    43         virtual TBool BrandUpdateAvailable( TInt aNewVersion ) = 0;
       
    44 
       
    45 
       
    46 protected:
       
    47     	/*
       
    48     	* Destructor
       
    49     	*/
       
    50     	virtual ~MBSBrandChangeObserver() {};
       
    51     };
       
    52 
       
    53 #endif //__MBSBRANDCHANGEOBSERVER_H