wlanutilities/wlansniffer/wlansnifferapplication/inc/wlansnifferservice.h
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
     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 Sniffer QtHighway Service.
       
    16 */
       
    17 
       
    18 #ifndef WLANSNIFFERSERVICE_H
       
    19 #define WLANSNIFFERSERVICE_H
       
    20 
       
    21 // System includes
       
    22 
       
    23 #include <QString>
       
    24 #include <xqserviceprovider.h>
       
    25 
       
    26 // User includes
       
    27 
       
    28 // Forward declarations
       
    29 
       
    30 // External data types
       
    31 
       
    32 // Constants
       
    33 
       
    34 // Class declaration
       
    35 class WlanSnifferService: public XQServiceProvider
       
    36 {
       
    37     Q_OBJECT
       
    38 
       
    39 public:
       
    40 
       
    41     // Data types
       
    42 
       
    43     explicit WlanSnifferService(QObject *parent = 0);
       
    44     
       
    45     ~WlanSnifferService();
       
    46     
       
    47     void complete();
       
    48 
       
    49 signals:
       
    50 
       
    51     /*!
       
    52         Signal to inform WLAN Sniffer that List View is requested.
       
    53         
       
    54         @param [in] title Window title.
       
    55      */
       
    56     void toListView(const QString &title);
       
    57 
       
    58     /*!
       
    59         Signal to inform WLAN Sniffer that exit was requested.
       
    60      */
       
    61     void exitTriggered();
       
    62 
       
    63 public slots:
       
    64 
       
    65     void listView();
       
    66 
       
    67 protected:
       
    68 
       
    69 protected slots:
       
    70 
       
    71 private:
       
    72 
       
    73     Q_DISABLE_COPY(WlanSnifferService)
       
    74 
       
    75     QString title() const;
       
    76 
       
    77 private slots:
       
    78 
       
    79 private: // data
       
    80 
       
    81     // Not owned data
       
    82 
       
    83     // Owned data
       
    84     int mAsyncRequestIndex;         //!< Service request ID
       
    85 
       
    86     // Friend classes
       
    87 };
       
    88 
       
    89 #endif // WLANSNIFFERSERVICE_H