-rw-r--r-- | libopie2/opienet/ostation.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/libopie2/opienet/ostation.h b/libopie2/opienet/ostation.h index f61570b..a6956c9 100644 --- a/libopie2/opienet/ostation.h +++ b/libopie2/opienet/ostation.h | |||
@@ -13,55 +13,62 @@ | |||
13 | ._= =} : or (at your option) any later version. | 13 | ._= =} : or (at your option) any later version. |
14 | .%`+i> _;_. | 14 | .%`+i> _;_. |
15 | .i_,=:_. -<s. This program is distributed in the hope that | 15 | .i_,=:_. -<s. This program is distributed in the hope that |
16 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
17 | : .. .:, . . . without even the implied warranty of | 17 | : .. .:, . . . without even the implied warranty of |
18 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
19 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 19 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
20 | ..}^=.= = ; Library General Public License for more | 20 | ..}^=.= = ; Library General Public License for more |
21 | ++= -. .` .: details. | 21 | ++= -. .` .: details. |
22 | : = ...= . :.=- | 22 | : = ...= . :.=- |
23 | -. .:....=;==+<; You should have received a copy of the GNU | 23 | -. .:....=;==+<; You should have received a copy of the GNU |
24 | -_. . . )=. = Library General Public License along with | 24 | -_. . . )=. = Library General Public License along with |
25 | -- :-=` this library; see the file COPYING.LIB. | 25 | -- :-=` this library; see the file COPYING.LIB. |
26 | If not, write to the Free Software Foundation, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | 27 | Inc., 59 Temple Place - Suite 330, |
28 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
29 | 29 | ||
30 | */ | 30 | */ |
31 | 31 | ||
32 | #ifndef OSTATION_H | 32 | #ifndef OSTATION_H |
33 | #define OSTATION_H | 33 | #define OSTATION_H |
34 | 34 | ||
35 | #include <opie2/onetutils.h> | 35 | #include <opie2/onetutils.h> |
36 | 36 | ||
37 | #include <qdict.h> | 37 | #include <qlist.h> |
38 | #include <qmap.h> | ||
39 | #include <qstring.h> | 38 | #include <qstring.h> |
40 | #include <qhostaddress.h> | 39 | #include <qhostaddress.h> |
41 | #include <qobject.h> | 40 | #include <qobject.h> |
42 | 41 | ||
43 | #include <sys/types.h> | 42 | #include <sys/types.h> |
44 | 43 | ||
45 | class OStation; | 44 | class OStation; |
46 | 45 | ||
47 | typedef QDict<OStation> OStationDict; | 46 | typedef QList<OStation> OStationList; |
48 | 47 | ||
49 | /*====================================================================================== | 48 | /*====================================================================================== |
50 | * OStation | 49 | * OStation |
51 | *======================================================================================*/ | 50 | *======================================================================================*/ |
52 | 51 | ||
53 | class OStation | 52 | class OStation |
54 | { | 53 | { |
55 | public: | 54 | public: |
56 | OStation(); | 55 | OStation(); |
57 | ~OStation(); | 56 | ~OStation(); |
58 | 57 | ||
59 | private: | 58 | void dump(); |
59 | |||
60 | /* Ethernet */ | ||
61 | QString type; | ||
60 | OMacAddress macAddress; | 62 | OMacAddress macAddress; |
61 | QHostAddress ipAddress; | 63 | QHostAddress ipAddress; |
64 | |||
65 | /* WaveLan */ | ||
62 | QString ssid; | 66 | QString ssid; |
63 | QString type; | 67 | OMacAddress apAddress; |
68 | int channel; | ||
69 | bool encrypted; | ||
64 | }; | 70 | }; |
65 | 71 | ||
72 | |||
66 | #endif // OSTATION_H | 73 | #endif // OSTATION_H |
67 | 74 | ||