diff -r e9f0e1110077 -r 261ff9819be3 userdict/src/UdictApp.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/userdict/src/UdictApp.cpp Wed Sep 01 12:31:56 2010 +0100 @@ -0,0 +1,88 @@ +/* +* 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: Japanese user dictionary Application class. +* +*/ + + + + + + +// INCLUDE FILES +#include "UdictApp.h" +#include "UdictDocument.h" +//#include +#include + +// ============================ MEMBER FUNCTIONS =============================== + +// ----------------------------------------------------------------------------- +// CUserDictApp::AppDllUid +// Returns application UID +// ----------------------------------------------------------------------------- +// +TUid CUserDictApp::AppDllUid() const + { + return KUidUserDict; + } + +// ----------------------------------------------------------------------------- +// CUserDictApp::CreateDocumentL +// Creates CUserDictDocument object +// ----------------------------------------------------------------------------- +// +CApaDocument* CUserDictApp::CreateDocumentL() + { + return CUserDictDocument::NewL(*this); + } + +// ========================== OTHER EXPORTED FUNCTIONS ========================= + +// ----------------------------------------------------------------------------- +// NewApplication +// Constructs CUserDictApp +// ----------------------------------------------------------------------------- +// +LOCAL_C CApaApplication* NewApplication() + { + return new CUserDictApp; + } + +// ----------------------------------------------------------------------------- +// E32Dll +// Entry point function for SymbianOS ECom plugin +// Returns: KErrNone: No error +// ----------------------------------------------------------------------------- +// +#ifndef EKA2 +GLDEF_C TInt E32Dll() + { + return KErrNone; + } +#endif + +LOCAL_D const TImplementationProxy ImplementationTable[]= + { + IMPLEMENTATION_PROXY_ENTRY(0x101F8645, NewApplication) + }; + +EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) + { + aTableCount=sizeof(ImplementationTable)/sizeof(ImplementationTable[0]); + return ImplementationTable; + } + + +// End of File