summaryrefslogtreecommitdiff
authorzecke <zecke>2002-05-30 20:55:31 (UTC)
committer zecke <zecke>2002-05-30 20:55:31 (UTC)
commit52e5ef5261c6b098f28f1ad8793a2743ce9c5daa (patch) (unidiff)
tree96d82ea99b1a01035ff34c3374a92ccb0d3d1a0c
parent0d8dcd470820a8bdc90d0ab3408d123eecd01113 (diff)
downloadopie-52e5ef5261c6b098f28f1ad8793a2743ce9c5daa.zip
opie-52e5ef5261c6b098f28f1ad8793a2743ce9c5daa.tar.gz
opie-52e5ef5261c6b098f28f1ad8793a2743ce9c5daa.tar.bz2
remote device interface
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/remotedevice.h24
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
7namespace 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