20 #ifndef COM_UBUNTU_CONNECTIVITY_NETWORKING_WIFI_LINK
21 #define COM_UBUNTU_CONNECTIVITY_NETWORKING_WIFI_LINK
26 #include <core/property.h>
32 namespace connectivity {
33 namespace networking {
36 #ifndef CONNECTIVITY_CPP_EXPORT
37 #define CONNECTIVITY_CPP_EXPORT __attribute ((visibility ("default")))
45 typedef std::shared_ptr<Link> Ptr;
46 typedef unsigned int Id;
49 Link(
const Link&) =
delete;
50 virtual ~Link() =
default;
52 virtual const core::Property<std::set<AccessPoint::Ptr>>& accessPoints() = 0;
54 virtual void connect_to(AccessPoint::Ptr accessPoint) = 0;
56 virtual const core::Property<AccessPoint::Ptr>& activeAccessPoint() = 0;
#define CONNECTIVITY_CPP_EXPORT