javaextensions/iapinfo/src.s60/iapinfosession.cpp
branchRCL_3
changeset 71 d5e927d5853b
equal deleted inserted replaced
66:2455ef1f5bbc 71:d5e927d5853b
       
     1 /*
       
     2 * Copyright (c) 2010 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:  JavaCommDB class implementation
       
    15  *
       
    16 */
       
    17 #include "iapinfosession.h"
       
    18 #include "fs_methodcall.h"
       
    19 
       
    20 #include "logger.h"
       
    21 
       
    22 using namespace CommsDat;
       
    23 
       
    24 IapInfoSession::IapInfoSession(): java::util::FunctionServer("MyIapServer")
       
    25 {
       
    26     createServerToNewThread();
       
    27 
       
    28 }
       
    29 
       
    30 IapInfoSession* IapInfoSession::NewL()
       
    31 {
       
    32     LOG(EJavaIapInfo, EInfo, "IapInfoSession + NewL()");
       
    33     IapInfoSession* self =   new(ELeave) IapInfoSession();
       
    34     CallMethodL(self, &IapInfoSession::ConstructL,self);
       
    35     return self;
       
    36 
       
    37 }
       
    38 
       
    39 void IapInfoSession::ConstructL()
       
    40 {
       
    41     iDb = CMDBSession::NewL(KCDVersion1_1);
       
    42 
       
    43 }
       
    44