wlanutilities/wlanqtutilities/wrapper/inc/wlanqtutilscmmwrapper.h
branchGCC_SURGE
changeset 47 b3d8f88532b7
parent 34 30a5f517c615
parent 46 2fbd1d709fe7
equal deleted inserted replaced
34:30a5f517c615 47:b3d8f88532b7
     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 */
       
    16 
       
    17 #ifndef WLANQTUTILSCMMWRAPPER_H_
       
    18 #define WLANQTUTILSCMMWRAPPER_H_
       
    19 
       
    20 // INCLUDES
       
    21 #include <QObject>
       
    22 
       
    23 QT_BEGIN_HEADER
       
    24 
       
    25 QT_BEGIN_NAMESPACE
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CmmWrapperPrivate;
       
    29 class WlanQtUtilsIap;
       
    30 class WlanQtUtilsWlanIap;
       
    31 class WlanQtUtilsWlanAp;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36  * CmmWrapper class.
       
    37  */
       
    38 class CmmWrapper : public QObject
       
    39 {
       
    40 Q_OBJECT
       
    41 
       
    42 public: // Constructor and destructor
       
    43 
       
    44     /**
       
    45      * Default constructor
       
    46      */
       
    47     CmmWrapper( QObject *parent = 0 );
       
    48 
       
    49     /**
       
    50      * Destructor
       
    51      */
       
    52     ~CmmWrapper();
       
    53 
       
    54 public: 
       
    55 
       
    56     /**
       
    57      * Fetch all IAPs
       
    58      * 
       
    59      * @param[in/out] iapList List of IAPs
       
    60      */
       
    61     int fetchIaps( QList<WlanQtUtilsIap*>& iapList );
       
    62 
       
    63     /**
       
    64      * Create a new WLAN IAP as uncategorized
       
    65      * 
       
    66      * @param[in] wlanAp Information about the WLAN AP
       
    67      * @return New IAP class
       
    68      */
       
    69     WlanQtUtilsWlanIap *createWlanIap(const WlanQtUtilsWlanAp *wlanAp);
       
    70     
       
    71     /**
       
    72      * Move IAP to the Internet SNAP
       
    73      * 
       
    74      * @param[in] iapId Which IAP to move
       
    75      * @param[in] snapId Where to move it
       
    76      */
       
    77     void moveIapToInternetSnap(int iapId);
       
    78     
       
    79 private: // Data
       
    80 
       
    81     /**
       
    82      * d_ptr pointer to CmmWrapperPrivate
       
    83      * Owned by CmmWrapper object, instantiated in
       
    84      * constructor.
       
    85      */
       
    86     CmmWrapperPrivate *d_ptr;
       
    87 };
       
    88 
       
    89 QT_END_HEADER
       
    90 
       
    91 QT_END_NAMESPACE
       
    92 
       
    93 #endif /* WLANQTUTILSCMMWRAPPER_H_ */
       
    94 
       
    95 // End of file