wlanutilities/wlanqtutilities/wrapper/src/wlanqtutilsesockwrapper.cpp
changeset 19 10810c91db26
child 31 e8f4211554fb
equal deleted inserted replaced
3:ff3b37722600 19:10810c91db26
       
     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:
       
    15 * This is a source file for EsockWrapper class.
       
    16 */
       
    17 
       
    18 #include "wlanqtutilsesockwrapper.h"
       
    19 #include "wlanqtutilsesockwrapper_s60_p.h"
       
    20 
       
    21 EsockWrapper::EsockWrapper(QObject *parent)
       
    22  : QObject(parent)
       
    23 {
       
    24     d_ptr = new EsockWrapperPrivate(this);
       
    25 }
       
    26 
       
    27 EsockWrapper::~EsockWrapper()
       
    28 {
       
    29     delete d_ptr;
       
    30 }
       
    31 
       
    32 void EsockWrapper::updateConnection(bool isOpened)
       
    33 {
       
    34 	emit connectionStatusFromWrapper(isOpened);
       
    35 }
       
    36 
       
    37 void EsockWrapper::connectIap(int iapId)
       
    38 {
       
    39     d_ptr->connectIap(iapId);
       
    40 }
       
    41 
       
    42 void EsockWrapper::disconnectIap()
       
    43 {
       
    44     d_ptr->disconnectIap();
       
    45 }