textinput/peninputarc/inc/pensrvcliinc/peninputcmdparamext.h
changeset 0 eb1f2e154e89
child 22 bd83ceabce89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2007-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:  Peninput command data structure
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _PENINPUTPARAM_EXT_H
       
    20 #define _PENINPUTPARAM_EXT_H
       
    21 
       
    22 typedef struct TUpdateDataTag
       
    23     {
       
    24     TRect iRect;
       
    25     TBool iUpdateFlag;
       
    26     } TUpdateDataArea;    
       
    27 
       
    28 #ifdef RD_TACTILE_FEEDBACK 
       
    29 struct TTactileFeedbackArea
       
    30     {
       
    31         TInt iId;		//unique id for this area
       
    32         TRect iNewRect; //The requested area
       
    33         TRect iPrevRect; //Previous area
       
    34         TInt iTactileType; //Tactile feedback type     
       
    35     } ;
       
    36 #endif // RD_TACTILE_FEEDBACK
       
    37     
       
    38 struct TUpdateArea
       
    39     {
       
    40 public:
       
    41     // the rect to update
       
    42     TRect iRect;
       
    43 
       
    44     //flag indicates whether full updated needed.        
       
    45     // see MAnimSpriteFunctions::UpdateMember
       
    46     TBool iFullUpdateFlag;
       
    47     };
       
    48 #endif //_PENINPUTPARAM_EXT_H