textinput/peninputgenericvkb/inc/peninputgenericvkbdatamgr.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:  peninput vkb data manager
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CPENINPUTGENERICVKBDATAMGR_H
       
    20 #define C_CPENINPUTGENERICVKBDATAMGR_H
       
    21 
       
    22 // System includes
       
    23 #include <e32base.h>
       
    24 #include <w32std.h>
       
    25 
       
    26 // User includes
       
    27 #include "peninputdatamgr.h"
       
    28 
       
    29 // Forward decalaration
       
    30 class MPeninputLayoutContext;
       
    31 
       
    32 /**
       
    33  *  Peninput VKB data management class
       
    34  *  This class manager the data of VKB
       
    35  *  
       
    36  *  @lib peninputgenericvkb.lib
       
    37  *  @since S60 v3.2
       
    38  */
       
    39 class CPeninputGenericVkbDataMgr : public CPeninputDataMgr 
       
    40     {   
       
    41 
       
    42 public:
       
    43 
       
    44     /**
       
    45      * Two-phased constructor
       
    46      *
       
    47      * @since S60 v3.2
       
    48      * @param aContext The layout context
       
    49      * @return The pointer to CPeninputGenericVkbDataMgr object
       
    50      */
       
    51     static CPeninputGenericVkbDataMgr* NewL( 
       
    52         MPeninputLayoutContext* aContext );
       
    53 
       
    54     /**
       
    55      * Two-phased constructor
       
    56      *
       
    57      * @since S60 v3.2
       
    58      * @param aContext The layout context
       
    59      * @return The pointer to CPeninputGenericVkbDataMgr object
       
    60      */
       
    61     static CPeninputGenericVkbDataMgr* NewLC( 
       
    62         MPeninputLayoutContext* aContext );
       
    63 
       
    64     /**
       
    65      * Destructor
       
    66      *
       
    67      * @since S60 v3.2
       
    68      * @return None
       
    69      */
       
    70     virtual ~CPeninputGenericVkbDataMgr();
       
    71 
       
    72 // From base class CPeninputDataMgr
       
    73 
       
    74     /**
       
    75      * From CPeninputDataMgr
       
    76      * Do nothing
       
    77      *
       
    78      * @since S60 v3.2
       
    79      * @return None
       
    80      */
       
    81     void InitMore();
       
    82     
       
    83     /**
       
    84      * From CPeninputDataMgr
       
    85      * Call back function, which is called when some key changed
       
    86      *
       
    87      * @since S60 v3.2
       
    88      * @param aChangedKey The key whose value is changed
       
    89      * @return None
       
    90      */
       
    91     void HandleGSRepositoryChange( TInt aChangedKey );
       
    92     
       
    93     /**
       
    94      * From CPeninputDataMgr
       
    95      * Reset data contained in data manager
       
    96      *
       
    97      * @since S60 v3.2
       
    98      * @return None
       
    99      */
       
   100     void Reset();
       
   101   
       
   102 protected:
       
   103 
       
   104     /**
       
   105      * Constructor
       
   106      *
       
   107      * @since S60 v3.2
       
   108      * @param aContext The layout context
       
   109      * @return None
       
   110      */
       
   111     CPeninputGenericVkbDataMgr( MPeninputLayoutContext* aContext );
       
   112     
       
   113     };
       
   114    
       
   115 #endif // C_CPENINPUTGENERICVKBDATAMGR_H