inputmethods_pub/ptiengine_iti_api/inc/PtiObserver.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2003-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:               MPtiObserver class definition.  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 
       
    30 
       
    31 
       
    32 #ifndef _PTI_OBSERVER_H
       
    33 #define _PTI_OBSERVER_H
       
    34 
       
    35 /**
       
    36 * PtiEngine observer interface. A client side application can request
       
    37 * notifications for certain PtiEngine operations through this 
       
    38 * interface. It is set via CPtiEngine::SetObserver method.
       
    39 */
       
    40 class MPtiObserver
       
    41 	{
       
    42 	public:
       
    43 	    /**
       
    44 	    * This method is called when multitapping timer
       
    45 	    * expires. Related to EPtiEngineMultitaping input mode.
       
    46 	    */
       
    47 		virtual void KeyTimerExpired() = 0;
       
    48 		
       
    49 		/**
       
    50 		* This method is called when last item in prediction
       
    51 		* candidate list is reached. Related to EPtiEnginePredictive
       
    52 		* input mode.
       
    53 		*/
       
    54 		virtual void LastWordInSelectionList() = 0;
       
    55 		
       
    56 	    /**
       
    57 		* This method is called when the first item in prediction
       
    58 		* candidate list is reached. Related to EPtiEnginePredictive
       
    59 		* input mode.
       
    60 		*/		
       
    61 		virtual void FirstWordInSelectionList() = 0;
       
    62 	};
       
    63 
       
    64 
       
    65 #endif // _PTI_OBSERVER_H
       
    66 
       
    67 // End of file