brandingserver/BSClient/mbsbrandobserverregistrar.h
changeset 31 9dbc70490d9a
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:  MBSBrandObserverRegistrar.h
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __MBSBRANDOBSERVERREGISTRAR_H
       
    22 #define __MBSBRANDOBSERVERREGISTRAR_H
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 
       
    27 /**
       
    28  * An interface through which client can take into use
       
    29  * available brand data updates.
       
    30  *
       
    31  * @since
       
    32  */
       
    33 class MBSBrandObserverRegistrar
       
    34     {
       
    35     public:
       
    36 
       
    37     	/*
       
    38     	* Registeres the brand observer to server
       
    39     	*/
       
    40         virtual void RegisterObserverToServerL( TRequestStatus& aStatus) = 0;
       
    41 
       
    42 
       
    43     	/*
       
    44     	* Gets the new updated version number 
       
    45     	*/
       
    46         virtual TInt GetNewVersionL() = 0;
       
    47         
       
    48         virtual TInt GetBackupRestoreL() = 0;
       
    49         
       
    50         virtual TInt GetBackupStateL() = 0;
       
    51 
       
    52 protected:
       
    53     	/*
       
    54     	* Destructor
       
    55     	*/
       
    56     	virtual ~MBSBrandObserverRegistrar() {};
       
    57     };
       
    58 
       
    59 #endif //__MBSBRANDOBSERVERREGISTRAR_H