Loading...
Searching...
No Matches
UPnP.h
Go to the documentation of this file.
#ifndef INCLUDE_HUEPLUSPLUS_UPNP_H
#define INCLUDE_HUEPLUSPLUS_UPNP_H
#include <memory>
#include <string>
#include <vector>
#include "IHttpHandler.h"
namespace hueplusplus
{
class UPnP
{
public:
std::vector<std::pair<std::string, std::string>> getDevices(std::shared_ptr<const IHttpHandler> handler);
};
} // namespace hueplusplus
#endif
IHttpHandler.h
hueplusplus::UPnP
Class that looks for UPnP devices using an m-search package.
Definition UPnP.h:36
hueplusplus::UPnP::getDevices
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
hueplusplus
Namespace for the hueplusplus library.
Definition Action.h:28