fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/inc/AknFepUIAvkonCtrlJapanesePredictiveListBoxModel.h
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
--- a/fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/inc/AknFepUIAvkonCtrlJapanesePredictiveListBoxModel.h	Tue Jul 06 14:38:41 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,157 +0,0 @@
-/*
-* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0""
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:            Predictive Candidate list
-*
-*/
-
-
-
-
-
-
-
-
-
-
-
-
-#ifndef CAKNFEPUICTRLJAPANESEPREDICTIVELISTBOXMODEL_H
-#define CAKNFEPUICTRLJAPANESEPREDICTIVELISTBOXMODEL_H
-
-// INCLUDES
-
-// CONSTANTS
-
-// FORWARD DECLARATIONS
-
-// CLASS DECLARATION
-
-/**
-*  TPredictivePopupElement class.
-*  This structure stores the information to display a candidate.
-*
-*  @lib AknFep.lib
-*  @since 2.6
-*/
-struct TPredictivePopupElement
-    {
-    TInt iStartXPos;
-    TInt iEndXPos;
-    TInt iCandidateNo;
-    };
-
-typedef CArrayFixFlat<TPredictivePopupElement> CPredictivePopupElementArray;
-
-// CLASS DECLARATION
-
-/**
-*  CPredictivePopupLineInfo class.
-*  This class stores a line information on predictive candidate list.
-*
-*  @lib AknFep.lib
-*  @since 2.6
-*/
-NONSHARABLE_CLASS(CPredictivePopupLineInfo) : public CBase
-    {
-public:
-    inline CPredictivePopupLineInfo() {};
-    virtual ~CPredictivePopupLineInfo();
-
-    HBufC* iLineText;
-    CPredictivePopupElementArray* iElementsOnLine;
-    };
-
-typedef CArrayPtrFlat<CPredictivePopupLineInfo> CPredictivePopupLineInfoArray;
-
-
-// CLASS DECLARATION
-
-/**
-*  CAknFepUICtrlJapanesePredictiveListBoxModel class.
-*
-*  @lib AknFep.lib
-*  @since 2.6
-*/
-NONSHARABLE_CLASS(CAknFepUICtrlJapanesePredictiveListBoxModel)
-        : public CAknFilteredTextListBoxModel
-    {
-    public: // New functions
-        /**
-        * This function registeres the array of line information of candidate list.
-        * @since 2,6
-        * @param aLineInfoArray
-        */
-        void SetLineInfoArray(CPredictivePopupLineInfoArray* aLineInfoArray);
-
-        /**
-        * This function returns a arrary object that the information is included each line.
-        * @since 2.6
-        * @return array object
-        */
-        CPredictivePopupLineInfoArray* LineInfoArray() const;
-
-        /**
-        * This function searches a item index as key in a candidate number
-        * 
-        * @since 2.6
-        * @param aCandidateNo   candidate number
-        * @return item index
-        */
-        TInt SearchItemIndexFromCandidateNo(TInt aCandidateNo) const;
-
-        /**
-        * This function is that it checks whether the candidate is included in the line.
-        * If including it, The displaying information is returned.
-        * @since 2.6
-        * @param aLineNo        line number
-        * @param aCandidateNo   candidate number
-        * @param aElement       display mode
-        * @return ETrue if including candidate
-        */
-        TBool SearchElement(TInt aLineNo,
-                            TInt aCandidateNo,
-                            TPredictivePopupElement& aElement);
-
-        /**
-        * Set total item numbers in listbox
-        * @since 2.6
-        * @param aMaximumItems  total item numbers
-        */
-        void SetMaximumItems(TInt aMaximumItems);
-
-        /**
-        * Return total item numbers
-        * @since 2.6
-        * @return total item numbers
-        */
-        TInt MaximumItems();
-
-        /**
-        * This function searches a CandidateNo from linenumber and Position
-        * @since 3.2
-        * @param aLineNo        line number
-        * @param aPoint         position
-        * @eturn candidate number
-        */
-        TInt SearchCandidateNoFromPosition(
-                TInt aLineNo, const TPoint& aPoint) const;
-
-    private:    // Data
-        CPredictivePopupLineInfoArray* iLineInfoArray;
-        TInt iMaximumItems;
-    };
-
-#endif  // CAKNFEPUICTRLJAPANESEPREDICTIVELISTBOXMODEL_H
-
-// End of File