diff -r 6ceef9a83b1a -r 6defe5d1bd39 textinput/ptihangulcore/inc/OssCombination.h --- a/textinput/ptihangulcore/inc/OssCombination.h Mon Mar 15 12:42:02 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,81 +0,0 @@ -/* -* Copyright (c) 2005,2006 Choe Hwanjin -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of the License "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: -* -*/ - - -#ifndef OSSCOMBINATION_H -#define OSSCOMBINATION_H - -// INCLUDES -#include -#include - -typedef struct _HangulCombination HangulCombination; - -class TOssCombinationItem - { - public: - - TBool operator == (const TOssCombinationItem& aCombination) const; - - public: - - TUint iFirst; - - TUint iSecond; - - TUint iResult; - }; - -class COssCombination : public CBase - { -public: - - IMPORT_C static COssCombination* NewLC(); - - IMPORT_C static COssCombination* NewL(); - - IMPORT_C virtual ~COssCombination(); - -public: - - IMPORT_C TInt AddCombinationL(const TOssCombinationItem& aCombination); - - IMPORT_C TInt RemoveCombination(const TOssCombinationItem& aCombination); - - IMPORT_C TInt FindCombination(const TOssCombinationItem& aCombination); - -private: - - COssCombination(); - - void ConstructL(); - -private: - - TBool PopulateListL(); - -private: - - HangulCombination* iHangulCombination; - - RArray iCombinationList; - - friend class COssHangulInputContext; - - }; - -#endif // OSSCOMBINATION_H