userdict/src/UdictApp.cpp
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:31:56 +0100
branchRCL_3
changeset 13 261ff9819be3
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201019 Kit: 201035

/*
* 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 <ecom.h>
#include <implementationproxy.h>

// ============================ 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