20 #ifndef COM_UBUNTU_CONNECTIVITY_NETWORKING_SERVICE
21 #define COM_UBUNTU_CONNECTIVITY_NETWORKING_SERVICE
29 namespace connectivity {
30 namespace networking {
32 #ifndef CONNECTIVITY_CPP_EXPORT
33 #define CONNECTIVITY_CPP_EXPORT __attribute ((visibility ("default")))
42 typedef std::shared_ptr<Service> Ptr;
49 virtual Type type()
const = 0;
56 virtual const core::Property<Status>& status() = 0;
60 virtual std::shared_ptr<Service> requires() = 0;
70 virtual void start() = 0;
71 virtual void stop() = 0;
73 typedef unsigned int Id;
74 virtual Id id()
const = 0;
76 virtual core::Property<std::string>& name() = 0;
std::shared_ptr< Link > Ptr
#define CONNECTIVITY_CPP_EXPORT