java_stubs/javaenvinfo/src/javaenvinfo.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 18 Jan 2010 20:12:38 +0200
changeset 2 c6ad3d501b91
permissions -rw-r--r--
Revision: v2.1.8 Kit: 201003

/*
* Copyright (c) 2009 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:  CJavaEnvInfo implementation.
*
*/


#include <e32base.h>

#include <javaenvinfo.h>

namespace Java
{
// ======== MEMBER FUNCTIONS ========

// ---------------------------------------------------------------------------
// JavaEnvInfo::Version()
// @return Java environment version
// ---------------------------------------------------------------------------
EXPORT_C TVersion JavaEnvInfo::Version()
{
    TVersion version(0, 0, 0);
    return version;
}

// ---------------------------------------------------------------------------
// JavaEnvInfo::GetUserAgentHeaderL
// ---------------------------------------------------------------------------
EXPORT_C HBufC* JavaEnvInfo::GetUserAgentHeaderL()
{
    return NULL;
}

// ---------------------------------------------------------------------------
// JavaEnvInfo::GetUserAgentHeaderL
// ---------------------------------------------------------------------------
EXPORT_C HBufC* JavaEnvInfo::GetPlatformInfoL()
{
    return NULL;
}

// ---------------------------------------------------------------------------
// JavaEnvInfo::GetJavaVersionL()
// ---------------------------------------------------------------------------
TVersion JavaEnvInfo::GetJavaVersionL()
{
    TVersion version(0, 0, 0);
    return version;
}
}