wvuing/IMPSServiceSettingsUI/SharedDataSrc/MIMPSSharedDataObserver.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2004 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 "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:  Shared data observer
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MIMPSSHAREDDATAOBSERVER_H
       
    19 #define __MIMPSSHAREDDATAOBSERVER_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include "MIMPSSharedData.h"
       
    23 
       
    24 // CLASS DECLARATION
       
    25 
       
    26 /**
       
    27 *  Shared data handler
       
    28 *
       
    29 *  @lib WVServiceSettingsUi.dll
       
    30 *  @since 2.6
       
    31 */
       
    32 NONSHARABLE_CLASS( MIMPSSharedDataObserver )
       
    33     {
       
    34 public: // New functions
       
    35 
       
    36     /**
       
    37     * Handles notify from permanent keys' changes
       
    38     * @param aUid uid of the dll
       
    39     * @param aKey the shared data key
       
    40     * @param aValue the value of the key
       
    41     */
       
    42     virtual void HandlePermanentKeyNotifyL( const TUid aUid,
       
    43                                             const TIMPSSharedKeys aKey ) = 0;
       
    44 
       
    45     /**
       
    46     * Handles notify from temporary keys' changes
       
    47     * @param aUid uid of the dll
       
    48     * @param aKey the shared data key
       
    49     * @param aValue the value of the key
       
    50     */
       
    51     virtual void HandleTemporaryKeyNotifyL( const TUid aUid,
       
    52                                             const TIMPSSharedKeys aKey ) = 0;
       
    53 
       
    54 protected:
       
    55 
       
    56     /**
       
    57     * Destructor
       
    58     */
       
    59     virtual ~MIMPSSharedDataObserver() {};
       
    60 
       
    61     };
       
    62 
       
    63 #endif      // __MIMPSSHAREDDATAOBSERVER_H
       
    64 
       
    65 // End of File