javaextensions/iapinfo/src.s60/javaapncontrol.cpp
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2008 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:  JavaAPNControl implementation
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <e32debug.h>
       
    21 #include <logger.h>
       
    22 
       
    23 //#include <j2me/net/CJavaInternetConnectionSession.h>
       
    24 #include "com_nokia_mid_iapinfo_APNControl.h"
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 //    CONSTANTS
       
    28 // -----------------------------------------------------------------------------
       
    29 JNIEXPORT jint JNICALL Java_com_nokia_mid_iapinfo_APNControl__1getLastIAP(JNIEnv* ,
       
    30         jclass)
       
    31 {
       
    32     LOG(EJavaIapInfo, EInfo, "JAVAAPNCONTROL + getLastIAP()");
       
    33 
       
    34     //TInt iap = -1;
       
    35 
       
    36     // iap = CJavaInternetConnectionSession::GetLastAPNId();
       
    37     // LOG1(EJavaIapInfo, EInfo, "JAVAAPNCONTROL returning value: %D", iap );
       
    38     // LOG(EJavaIapInfo, EInfo, "JAVAAPNCONTROL - getLastIAP()" );
       
    39 
       
    40     // return 111;//iap;
       
    41     return 0;
       
    42 }
       
    43