summaryrefslogtreecommitdiff
path: root/libopie2/opienet/ostation.h
Unidiff
Diffstat (limited to 'libopie2/opienet/ostation.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/ostation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opienet/ostation.h b/libopie2/opienet/ostation.h
index 5219d92..86c9a52 100644
--- a/libopie2/opienet/ostation.h
+++ b/libopie2/opienet/ostation.h
@@ -16,68 +16,70 @@
16    : ..    .:,     . . . without even the implied warranty of 16    : ..    .:,     . . . without even the implied warranty of
17    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 17    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
18  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 18  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
19..}^=.=       =       ; Library General Public License for more 19..}^=.=       =       ; Library General Public License for more
20++=   -.     .`     .: details. 20++=   -.     .`     .: details.
21 :     =  ...= . :.=- 21 :     =  ...= . :.=-
22 -.   .:....=;==+<; You should have received a copy of the GNU 22 -.   .:....=;==+<; You should have received a copy of the GNU
23  -_. . .   )=.  = Library General Public License along with 23  -_. . .   )=.  = Library General Public License along with
24    --        :-=` this library; see the file COPYING.LIB. 24    --        :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation, 25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330, 26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA. 27 Boston, MA 02111-1307, USA.
28 28
29*/ 29*/
30 30
31#ifndef OSTATION_H 31#ifndef OSTATION_H
32#define OSTATION_H 32#define OSTATION_H
33 33
34#include <opie2/onetutils.h> 34#include <opie2/onetutils.h>
35 35
36#include <qlist.h> 36#include <qlist.h>
37#include <qstring.h> 37#include <qstring.h>
38#include <qhostaddress.h> 38#include <qhostaddress.h>
39#include <qobject.h> 39#include <qobject.h>
40#include <qvaluelist.h>
40 41
41#include <sys/types.h> 42#include <sys/types.h>
42 43
43namespace Opie { 44namespace Opie {
44namespace Net { 45namespace Net {
45 46
46class OStation; 47class OStation;
47 48
48 49
49typedef QList<OStation> OStationList; 50typedef QList<OStation> OStationList;
50 51
51/*====================================================================================== 52/*======================================================================================
52 * OStation 53 * OStation
53 *======================================================================================*/ 54 *======================================================================================*/
54 55
55class OStation 56class OStation
56{ 57{
57 public: 58 public:
58 OStation(); 59 OStation();
59 ~OStation(); 60 ~OStation();
60 61
61 void dump(); 62 void dump();
62 63
63 /* Ethernet */ 64 /* Ethernet */
64 QString type; 65 QString type;
65 OMacAddress macAddress; 66 OMacAddress macAddress;
66 QHostAddress ipAddress; 67 QHostAddress ipAddress;
67 68
68 /* WaveLan */ 69 /* WaveLan */
69 QString ssid; 70 QString ssid;
70 OMacAddress apAddress; 71 OMacAddress apAddress;
71 int channel; 72 int channel;
72 int level; 73 int level;
73 bool encrypted; 74 bool encrypted;
75 QValueList <int> rates;
74 private: 76 private:
75 class Private; 77 class Private;
76 Private *d; 78 Private *d;
77}; 79};
78 80
79} 81}
80} 82}
81 83
82#endif // OSTATION_H 84#endif // OSTATION_H
83 85