-rw-r--r-- | noncore/net/opietooth/lib/remotedevice.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/noncore/net/opietooth/lib/remotedevice.h b/noncore/net/opietooth/lib/remotedevice.h new file mode 100644 index 0000000..8e5baa5 --- a/dev/null +++ b/noncore/net/opietooth/lib/remotedevice.h | |||
@@ -0,0 +1,24 @@ | |||
1 | |||
2 | #ifndef OpieToothRemoteDevice | ||
3 | #define OpieToothRemoteDevice | ||
4 | |||
5 | #include <qvaluelist.h> | ||
6 | |||
7 | namespace OpieTooth{ | ||
8 | class RemoteDevices { | ||
9 | public: | ||
10 | typedef QValueList<RemoteDevices> ValueList; | ||
11 | RemoteDevices(); | ||
12 | RemoteDevices(const RemoteDevices& ); | ||
13 | RemoteDevices(const QString &mac, const QString &name ); | ||
14 | ~RemoteDevices(); | ||
15 | friend bool operator==(const RemoteDevices&, const RemoteDevices&); | ||
16 | RemoteDevies &operator=(const RemoteDevices& ); | ||
17 | QString mac()const; | ||
18 | void setMac(const QString& mac ); | ||
19 | QString name()const; | ||
20 | void setName( const QString& name ); | ||
21 | }; | ||
22 | }; | ||
23 | |||
24 | #endif | ||