wlanutilities/wlanqtutilities/wrapper/src/wlanqtutilsesockwrapper.cpp
author hgs
Fri, 14 May 2010 10:30:51 +0300
changeset 30 ab513c8439db
parent 19 10810c91db26
child 31 e8f4211554fb
permissions -rw-r--r--
201019

/*
* 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:
* This is a source file for EsockWrapper class.
*/

#include "wlanqtutilsesockwrapper.h"
#include "wlanqtutilsesockwrapper_s60_p.h"

EsockWrapper::EsockWrapper(QObject *parent)
 : QObject(parent)
{
    d_ptr = new EsockWrapperPrivate(this);
}

EsockWrapper::~EsockWrapper()
{
    delete d_ptr;
}

void EsockWrapper::updateConnection(bool isOpened)
{
	emit connectionStatusFromWrapper(isOpened);
}

void EsockWrapper::connectIap(int iapId)
{
    d_ptr->connectIap(iapId);
}

void EsockWrapper::disconnectIap()
{
    d_ptr->disconnectIap();
}