hueplusplus  1.0.0
UPnP.h
Go to the documentation of this file.
1 
23 #ifndef INCLUDE_HUEPLUSPLUS_UPNP_H
24 #define INCLUDE_HUEPLUSPLUS_UPNP_H
25 
26 #include <memory>
27 #include <string>
28 #include <vector>
29 
30 #include "IHttpHandler.h"
31 
32 namespace hueplusplus
33 {
35 class UPnP
36 {
37 public:
45  std::vector<std::pair<std::string, std::string>> getDevices(std::shared_ptr<const IHttpHandler> handler);
46 };
47 } // namespace hueplusplus
48 
49 #endif
std::vector< std::pair< std::string, std::string > > getDevices(std::shared_ptr< const IHttpHandler > handler)
Searches for UPnP devices and returns all found ones.
Definition: UPnP.cpp:32
Namespace for the hueplusplus library.
Definition: Action.h:27
Class that looks for UPnP devices using an m-search package.
Definition: UPnP.h:35