tactilefeedback/tactilefeedbackresolver/inc/tactilepropertyobserver.h
changeset 0 d54f32e146dd
equal deleted inserted replaced
-1:000000000000 0:d54f32e146dd
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Callback interface for getting a notification about
       
    15 *                property changes.
       
    16 * Part of:      Tactile Feedback.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef M_TACTILEPROPERTYOBSERVER_H
       
    22 #define M_TACTILEPROPERTYOBSERVER_H
       
    23 
       
    24 
       
    25 
       
    26 #include <e32std.h>
       
    27 
       
    28 
       
    29 /**
       
    30  *  Callback interface used from CTactilePropertyWatcher.
       
    31  *
       
    32  *  @lib N/A
       
    33  *  @since S60 v5.0
       
    34  */
       
    35 class MTactilePropertyObserver
       
    36     {
       
    37 public:
       
    38     /**
       
    39      * This gets called when a subscribed property is changed.
       
    40      *
       
    41      * @param aCategory - The UID of the changed property
       
    42      * @param aKey      - The key (i.e. identifier) of the changed property
       
    43      */
       
    44     virtual void PropertyChangedL( const TUid aCategory, 
       
    45                                    const TUint aKey ) = 0;
       
    46     };
       
    47 
       
    48 
       
    49 
       
    50 #endif // M_TACTILEPROPERTYOBSERVER_H