java_stubs/javaenvinfo/src/javaenvinfo.cpp
branchRCL_3
changeset 8 014f8c42e1d4
parent 0 3fd91c96c86c
equal deleted inserted replaced
7:9d598f7f02da 8:014f8c42e1d4
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  CJavaEnvInfo implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 #include <javaenvinfo.h>
       
    22 
       
    23 namespace Java
       
    24 {
       
    25 // ======== MEMBER FUNCTIONS ========
       
    26 
       
    27 // ---------------------------------------------------------------------------
       
    28 // JavaEnvInfo::Version()
       
    29 // @return Java environment version
       
    30 // ---------------------------------------------------------------------------
       
    31 EXPORT_C TVersion JavaEnvInfo::Version()
       
    32 {
       
    33     TVersion version(0, 0, 0);
       
    34     return version;
       
    35 }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // JavaEnvInfo::GetUserAgentHeaderL
       
    39 // ---------------------------------------------------------------------------
       
    40 EXPORT_C HBufC* JavaEnvInfo::GetUserAgentHeaderL()
       
    41 {
       
    42     return NULL;
       
    43 }
       
    44 
       
    45 // ---------------------------------------------------------------------------
       
    46 // JavaEnvInfo::GetUserAgentHeaderL
       
    47 // ---------------------------------------------------------------------------
       
    48 EXPORT_C HBufC* JavaEnvInfo::GetPlatformInfoL()
       
    49 {
       
    50     return NULL;
       
    51 }
       
    52 
       
    53 // ---------------------------------------------------------------------------
       
    54 // JavaEnvInfo::GetJavaVersionL()
       
    55 // ---------------------------------------------------------------------------
       
    56 TVersion JavaEnvInfo::GetJavaVersionL()
       
    57 {
       
    58     TVersion version(0, 0, 0);
       
    59     return version;
       
    60 }
       
    61 }