phoneapp/phoneuiutils/inc/mphonepubsubobserver.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Abstract class to observe property value changes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MPHONEPUBSUBOBSERVER_H
       
    20 #define __MPHONEPUBSUBOBSERVER_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 
       
    24 // CLASS DECLARATION
       
    25 
       
    26 /**
       
    27 *  Abstract class to observe the property value changes
       
    28 */
       
    29 class MPhonePubSubObserver
       
    30     {
       
    31     public: 
       
    32         
       
    33         /**
       
    34         * This function is called when there is property value change.
       
    35         * @param aCategory Category of the property
       
    36         * @param aKey Property key that is changed
       
    37         * @param aValue New property value
       
    38         */
       
    39         virtual void HandlePropertyChangedL( 
       
    40             const TUid& aCategory,
       
    41             const TUint aKey,
       
    42             const TInt aValue ) = 0;
       
    43     };
       
    44 
       
    45 #endif      // __MPhonePubSubObserver_H
       
    46             
       
    47 // End of File