textinput/peninputarc/gsplugin/gspeninputplugin/inc/gscenrepnotifyhandlercallback.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2002-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:  gs key handle callback header file.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_GSCENREPNOTIFYHANDLERCALLBACK_H
       
    20 #define M_GSCENREPNOTIFYHANDLERCALLBACK_H
       
    21 
       
    22 /**
       
    23  *  This class provides a callback interface for handling the
       
    24  *  notifification events from the CenRep. The Client derives a
       
    25  *  class from this interface and implements the HandleNotify-methods
       
    26  *  that interest it.
       
    27  *
       
    28  *  @lib gspeninputplugin.dll
       
    29  *  @since S60 v3.2
       
    30  */
       
    31 class MGsCenRepNotifyHandlerCallback
       
    32     {
       
    33 
       
    34     public:
       
    35 
       
    36     /**
       
    37      * This callback method is used to notify the client about
       
    38      * key changing
       
    39      * 
       
    40      * @since S60 v3.2
       
    41      * @param aId Key id 
       
    42      * @param aNewValue New value
       
    43      * @return None
       
    44      */
       
    45     virtual void HandleNotifyInt(TUint32 aId, TInt aNewValue) = 0;
       
    46     
       
    47     /**
       
    48      * This callback method is used to notify the client about
       
    49      * key changing
       
    50      * 
       
    51      * @param aRepositoryUid The reposiroty uid for each key
       
    52      * @param aId Key id 
       
    53      * @param aNewValue New value
       
    54      * @return None
       
    55      */
       
    56     virtual void HandleNotifyInt(TUid aRepositoryUid, TUint32 aId, TInt aNewValue) = 0;
       
    57     
       
    58     };
       
    59     
       
    60 #endif // M_GSCENREPNOTIFYHANDLERCALLBACK_H
       
    61 
       
    62 // End Of File