summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/remotedevice.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/lib/remotedevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/remotedevice.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/opietooth/lib/remotedevice.h b/noncore/net/opietooth/lib/remotedevice.h
index 23f98bd..f268ccc 100644
--- a/noncore/net/opietooth/lib/remotedevice.h
+++ b/noncore/net/opietooth/lib/remotedevice.h
@@ -12,17 +12,19 @@ namespace OpieTooth{
12 RemoteDevice(const RemoteDevice& ); 12 RemoteDevice(const RemoteDevice& );
13 RemoteDevice(const QString &mac, const QString &name ); 13 RemoteDevice(const QString &mac, const QString &name );
14 ~RemoteDevice(); 14 ~RemoteDevice();
15 friend bool operator==(const RemoteDevice&, const RemoteDevice&); 15// friend bool operator==(const RemoteDevice&, const RemoteDevice&);
16 RemoteDevice &operator=(const RemoteDevice& ); 16 RemoteDevice &operator=(const RemoteDevice& );
17 bool isEmpty()const; 17 bool isEmpty()const;
18 QString mac()const; 18 QString mac()const;
19 void setMac(const QString& mac ); 19 void setMac(const QString& mac );
20 QString name()const; 20 QString name()const;
21 void setName( const QString& name ); 21 void setName( const QString& name );
22 bool equals( const RemoteDevice& )const;
22 private: 23 private:
23 QString m_name; 24 QString m_name;
24 QString m_mac; 25 QString m_mac;
25 }; 26 };
27 bool operator==( const RemoteDevice&, const RemoteDevice& );
26}; 28};
27 29
28#endif 30#endif