javauis/nokiauiapi_qt/softnoteplugin/src.s60/lookup.cpp
author hgs
Mon, 04 Oct 2010 11:29:25 +0300
changeset 78 71ad690e91f5
permissions -rw-r--r--
v2.2.17_1

/*******************************************************************************
 * Copyright (c) 2009, 2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Nokia Corporation - initial implementation
 *******************************************************************************/

#include <string> //For strcmp
#include <javasymbianoslayer.h>
#include <logger.h>

#include "javasoftnotehandler.h"

using namespace java::captain;

ExtensionPluginInterface* getExtensionPlugin();

EXPORT_C FuncPtr findDllMethod(const char* funcName)
    {
    JELOG2(EJavaCaptain);
    FuncPtr ptr = 0;
    if (funcName)
        {
        if (strcmp(funcName, "getExtensionPlugin") == 0)
            {
            ptr = (FuncPtr) getExtensionPlugin;
            }
        }
    else
        {
        ELOG(EJavaCaptain, "javasoftnoteplugin findDllMethod() funcName == null");
        }
    return ptr;
    }