textinput/peninputarc/inc/pensrvcliinc/penuiwndeventobserver.h
branchRCL_3
changeset 56 8152b1f1763a
equal deleted inserted replaced
50:5a1685599b76 56:8152b1f1763a
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef PENUIWNDEVENTOBSERVER_H_
       
    19 #define PENUIWNDEVENTOBSERVER_H_
       
    20 
       
    21 /**
       
    22  *  MPenUiWndEventObserver
       
    23  *  
       
    24  *  The observer to handle pen ui window event
       
    25  * 
       
    26  */
       
    27 class MPenUiWndEventObserver
       
    28     {
       
    29 public:
       
    30     /**
       
    31      * Signal owner that there is an event
       
    32      *
       
    33      * @since symbian^3     
       
    34      * @param aEventType The event type
       
    35      * @param aEventData The event data
       
    36      */
       
    37     virtual void SignalOwner( TInt aEventType, const TDesC& aEventData ) = 0;
       
    38     
       
    39     /**
       
    40      * Handle layout command event.
       
    41      *
       
    42      * @since symbian^3  
       
    43      * @param aCmd Command Id.
       
    44      * @param aData Data for command.
       
    45      */    
       
    46     virtual void HandleCommand( TInt aCmd, TUint8* aData ) = 0;
       
    47     };
       
    48 
       
    49 #endif /* PENUIWNDEVENTOBSERVER_H_ */