hueplusplus  1.0.0
Typedefs | Functions
UsernameConfig.cpp File Reference
#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)
 

Detailed Description

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/.

Typedef Documentation

◆ SystemHttpHandler

Function Documentation

◆ connectToBridge()

hue::Bridge connectToBridge ( const std::string &  username,
const std::string &  macAddress 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ readConfigFile()

nlohmann::json readConfigFile ( const std::string &  filename)

◆ saveConfigFile()

void saveConfigFile ( const std::string &  filename,
const nlohmann::json &  config 
)