summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/remotedevice.h
blob: 8e5baa560049ca909cdf026aeffb002519a6a184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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