A private doorbell project to serve an Android app with webcam pictures and microphone recordings when someone presses the button. Information is being spread via MQTT. https://www.taibsu.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
618 B

#ifndef CONFIG_H
#define CONFIG_H
#include <map>
#include <string>
#include <vector>
#include <config4cpp/Configuration.h>
#include "log.h"
namespace tai {
class config
config() = delete;
explicit config(const std::vector<std::string>& options);
~config() {
if (_config) {
auto options(const std::string& o) -> const std::string&;
auto optionsVec(const std::string& o) -> std::vector<std::string>;
config4cpp::Configuration* _config;
std::map<std::string, std::string> _options;
#endif // CONFIG_H