wlanutilities/wlanqtutilities/wrapper/src/wlanqtutilscmmwrapper.cpp
changeset 31 e8f4211554fb
parent 30 ab513c8439db
child 32 5bbf13e885a0
equal deleted inserted replaced
30:ab513c8439db 31:e8f4211554fb
     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 CmmWrapper class.
       
    16 */
       
    17 
       
    18 // INCLUDE FILES
       
    19 #include "wlanqtutilscmmwrapper.h"
       
    20 #include "wlanqtutilscmmwrapper_s60_p.h"
       
    21 #include "wlanqtutilsiap.h"
       
    22 #include "wlanqtutilswlaniap.h"
       
    23 #include "wlanqtutilswlanap.h"
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 //
       
    27 
       
    28 CmmWrapper::CmmWrapper( QObject *parent ) :
       
    29     QObject( parent )
       
    30 {
       
    31     d_ptr = new CmmWrapperPrivate( this );
       
    32 }
       
    33 
       
    34 CmmWrapper::~CmmWrapper()
       
    35 {
       
    36     delete d_ptr;
       
    37 }
       
    38 
       
    39 int CmmWrapper::fetchIaps( QList<WlanQtUtilsIap*>& iapList )
       
    40 {
       
    41     int error = d_ptr->fetchIaps( iapList );
       
    42     return error;
       
    43 }
       
    44 
       
    45 WlanQtUtilsWlanIap *CmmWrapper::createWlanIap( const WlanQtUtilsWlanAp *wlanAp )
       
    46 {
       
    47     return d_ptr->createWlanIap( wlanAp );
       
    48 }
       
    49 
       
    50 void CmmWrapper::moveIapToInternetSnap( int iapId )
       
    51 {
       
    52     return d_ptr->moveIapToInternetSnap( iapId );
       
    53 }
       
    54 
       
    55 //end of file