diff -r 9d598f7f02da -r 014f8c42e1d4 java_stubs/javaenvinfo/src/javaenvinfo.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java_stubs/javaenvinfo/src/javaenvinfo.cpp Mon Feb 22 17:55:27 2010 +0200 @@ -0,0 +1,61 @@ +/* +* 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 + +#include + +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; +} +}