summaryrefslogtreecommitdiff
path: root/noncore
authorzecke <zecke>2002-05-30 20:55:31 (UTC)
committer zecke <zecke>2002-05-30 20:55:31 (UTC)
commit52e5ef5261c6b098f28f1ad8793a2743ce9c5daa (patch) (side-by-side diff)
tree96d82ea99b1a01035ff34c3374a92ccb0d3d1a0c /noncore
parent0d8dcd470820a8bdc90d0ab3408d123eecd01113 (diff)
downloadopie-52e5ef5261c6b098f28f1ad8793a2743ce9c5daa.zip
opie-52e5ef5261c6b098f28f1ad8793a2743ce9c5daa.tar.gz
opie-52e5ef5261c6b098f28f1ad8793a2743ce9c5daa.tar.bz2
remote device interface
Diffstat (limited to 'noncore') (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 @@
+
+#ifndef OpieToothRemoteDevice
+#define OpieToothRemoteDevice
+
+#include <qvaluelist.h>
+
+namespace OpieTooth{
+ class RemoteDevices {
+ public:
+ typedef QValueList<RemoteDevices> ValueList;
+ RemoteDevices();
+ RemoteDevices(const RemoteDevices& );
+ RemoteDevices(const QString &mac, const QString &name );
+ ~RemoteDevices();
+ friend bool operator==(const RemoteDevices&, const RemoteDevices&);
+ RemoteDevies &operator=(const RemoteDevices& );
+ QString mac()const;
+ void setMac(const QString& mac );
+ QString name()const;
+ void setName( const QString& name );
+ };
+};
+
+#endif