|
a/libupnpp/control/discovery.hxx |
|
b/libupnpp/control/discovery.hxx |
|
... |
|
... |
64 |
static UPnPDeviceDirectory *getTheDir(time_t search_window = 3);
|
64 |
static UPnPDeviceDirectory *getTheDir(time_t search_window = 3);
|
65 |
|
65 |
|
66 |
/** Clean up before exit. Do call this.*/
|
66 |
/** Clean up before exit. Do call this.*/
|
67 |
static void terminate();
|
67 |
static void terminate();
|
68 |
|
68 |
|
69 |
typedef STD_FUNCTION<bool (const UPnPDeviceDesc&,
|
69 |
typedef std::function<bool (const UPnPDeviceDesc&,
|
70 |
const UPnPServiceDesc&)> Visitor;
|
70 |
const UPnPServiceDesc&)> Visitor;
|
71 |
|
71 |
|
72 |
/** Traverse the directory and call Visitor for each device/service pair */
|
72 |
/** Traverse the directory and call Visitor for each device/service pair */
|
73 |
bool traverse(Visitor);
|
73 |
bool traverse(Visitor);
|
74 |
|
74 |
|