sipvoipprovider/inc/svppropertywatchobserver.h
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2009 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:  Observers changes in proverty values
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_SVPPROPERTYWATCHOBSERVER_H
       
    20 #define M_SVPPROPERTYWATCHOBSERVER_H
       
    21 
       
    22 /**
       
    23  *  Observer interface for clients being interested in getting notifications
       
    24  *  when Publish&Subscribe property under watching changes.
       
    25  *
       
    26  *  @lib svp.dll
       
    27  *  @since S60 3.2
       
    28  */
       
    29 class MSVPPropertyWatchObserver
       
    30     {
       
    31 
       
    32 public:
       
    33 
       
    34     /**
       
    35      * MSVPPropertyWatch calls this when some property under watching was
       
    36      * changed. 
       
    37      *
       
    38      * @since S60 3.2
       
    39      * @param aKey Property which was changed
       
    40      * @param aValue New value of the property
       
    41      */
       
    42      virtual void ValueChangedL( TInt aKey, TInt aValue ) = 0;
       
    43     
       
    44     /**
       
    45      * MccPropertyWatch calls this when property was deleted.
       
    46      *
       
    47      * @since S60 3.2
       
    48      * @param aKey Property which was deleted
       
    49      */
       
    50      virtual void PropertyDeleted( TInt aKey ) = 0;
       
    51 
       
    52     };
       
    53 
       
    54 #endif // M_SVPPROPERTYWATCHOBSERVER_H