Přeskočit obsah

File AppConfig.hpp

File List > apps > AppConfig.hpp

Go to the documentation of this file.

#pragma once

#include <functional>
#include <map>
#include <memory>
#include <string>
#include <utility>

typedef struct AppConfig {
    std::string httpUrlBase;

    std::string apiKey;

    std::function<std::string(std::string url)> getHTTPRequest;

    std::function<int(void)> updateHandler;

} AppConfig;