20 #ifndef MPD_NEIGHBOR_EXPLORER_HXX
21 #define MPD_NEIGHBOR_EXPLORER_HXX
23 #include <forward_list>
44 :listener(_listener) {}
47 typedef std::forward_list<NeighborInfo>
List;
59 virtual void Open() = 0;
64 virtual void Close() = 0;
69 virtual List
GetList()
const = 0;
An object that explores the neighborhood for music servers.
NeighborListener & listener
virtual ~NeighborExplorer()
Free instance data.
virtual List GetList() const =0
Obtain a list of currently known neighbors.
An interface that listens on events from neighbor plugins.
virtual void Close()=0
Stop exploring.
virtual void Open()=0
Start exploring the neighborhood.
NeighborExplorer(NeighborListener &_listener)
std::forward_list< NeighborInfo > List