summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/remotedevice.h
Side-by-side diff
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{
RemoteDevice(const RemoteDevice& );
RemoteDevice(const QString &mac, const QString &name );
~RemoteDevice();
- friend bool operator==(const RemoteDevice&, const RemoteDevice&);
+// friend bool operator==(const RemoteDevice&, const RemoteDevice&);
RemoteDevice &operator=(const RemoteDevice& );
bool isEmpty()const;
QString mac()const;
void setMac(const QString& mac );
QString name()const;
void setName( const QString& name );
+ bool equals( const RemoteDevice& )const;
private:
QString m_name;
QString m_mac;
};
+ bool operator==( const RemoteDevice&, const RemoteDevice& );
};
#endif