|
hueplusplus 1.2.0
|
#include <algorithm>#include <fstream>#include <iomanip>#include <iostream>#include <hueplusplus/Bridge.h>#include <hueplusplus/LinHttpHandler.h>
Include dependency graph for UsernameConfig.cpp:Typedefs | |
| using | SystemHttpHandler = hueplusplus::LinHttpHandler |
Functions | |
| nlohmann::json | readConfigFile (const std::string &filename) |
| void | saveConfigFile (const std::string &filename, const nlohmann::json &config) |
| hue::Bridge | connectToBridge (const std::string &username, const std::string &macAddress) |
| int | main (int argc, char **argv) |
Copyright Notice
Copyright (C) 2021 Jan Rogall - developer
This file is part of hueplusplus.
hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see http://www.gnu.org/licenses/.
| hue::Bridge connectToBridge | ( | const std::string & | username, |
| const std::string & | macAddress | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| nlohmann::json readConfigFile | ( | const std::string & | filename | ) |
| void saveConfigFile | ( | const std::string & | filename, |
| const nlohmann::json & | config | ||
| ) |