fepstub/UiPlugins/AknFepUiInterface/inc/AknFepCandidatePopupCallback.h
changeset 24 fc42a86c98e3
equal deleted inserted replaced
15:806570e85b3d 24:fc42a86c98e3
       
     1 /*
       
     2 * Copyright (c) 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:             A callback interface for the candidate popup
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 #ifndef __AKN_FEP_CANDIDATE_POPUP_CALLBACK_H
       
    30 #define __AKN_FEP_CANDIDATE_POPUP_CALLBACK_H
       
    31 
       
    32 class MAknFepCandidatePopupCallback
       
    33     {
       
    34 public:
       
    35     /**
       
    36     * Callback the get the current set of candidates
       
    37     * @param    aArray      An output parameter for the candidate strings
       
    38     * @param    aActiveIdx  An output parameter for the index of the 
       
    39     *                       currently active candidate
       
    40     */
       
    41     virtual void GetCandidatesL( CDesCArray& aArray, TInt& aActiveIdx ) = 0;  
       
    42     
       
    43     /**
       
    44      * Callback get current position of candidate list.
       
    45      * @param  aRect  New posion of candidate list
       
    46      */
       
    47     virtual void GetUpdateCandidatePositionL(TRect& aRect) = 0;
       
    48     };
       
    49     
       
    50 #endif // __AKN_FEP_CANDIDATE_POPUP_CALLBACK_H