summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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