wlanutilities/wlanqtutilities/base/inc/wlanqtutilsconnection.h
branchRCL_3
changeset 54 63be7eb3fc78
equal deleted inserted replaced
52:b852595f5cbe 54:63be7eb3fc78
       
     1 /*
       
     2 * Copyright (c) 2009-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:
       
    15 * WLAN Qt Utilities WLAN connection status handler.
       
    16 */
       
    17 
       
    18 #ifndef WLANQTUTILSCONNECTION_H
       
    19 #define WLANQTUTILSCONNECTION_H
       
    20 
       
    21 // System includes
       
    22 
       
    23 #include <QObject>
       
    24 
       
    25 // User includes
       
    26 
       
    27 #include "wlanqtutils.h"
       
    28 
       
    29 // Forward declarations
       
    30 
       
    31 // External data types
       
    32 
       
    33 // Constants
       
    34 
       
    35 // Class declaration
       
    36 
       
    37 class WlanQtUtilsConnection
       
    38 {
       
    39     
       
    40 public:
       
    41 
       
    42     // Data types
       
    43 
       
    44     WlanQtUtilsConnection();
       
    45 
       
    46     virtual ~WlanQtUtilsConnection();
       
    47     
       
    48     uint connectionId() const;
       
    49 
       
    50     void setConnectionId(uint connectionId);
       
    51 
       
    52     uint iapId() const;
       
    53 
       
    54     void setIapId(uint iapId);
       
    55 
       
    56     WlanQtUtils::ConnStatus connectionStatus() const;
       
    57 
       
    58     void setConnectionStatus(
       
    59         WlanQtUtils::ConnStatus connectionStatus);
       
    60 
       
    61 signals:
       
    62 
       
    63 public slots:
       
    64 
       
    65 protected:
       
    66 
       
    67 protected slots:
       
    68 
       
    69 private:
       
    70 
       
    71 private slots:
       
    72 
       
    73 private: // data
       
    74 
       
    75     //! Connection Monitor Server specific connection ID.
       
    76     uint mConnectionId;
       
    77 
       
    78     //! IAP ID.
       
    79     uint mIapId;
       
    80     
       
    81     //! Connection status.
       
    82     WlanQtUtils::ConnStatus mConnectionStatus;
       
    83 
       
    84     // Friend classes
       
    85 };
       
    86 
       
    87 #endif // WLANQTUTILSCONNECTION_H