blob: d9160a5e492f44913408f76f3c5c927a379b1b26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// -*- c++ -*-
// Distributed under the BSD 2-Clause License.
// See accompanying file LICENSE for details.
#pragma once
#include <filesystem>
#include <string>
#include <map>
struct Settings;
extern std::filesystem::path configurationFile;;
extern std::filesystem::path configHeaderFile;
int configure(const Settings& settings, int argc, char* argv[]);
int reconfigure(const Settings& settings, int argc, char* argv[]);
/*
bool hasConfiguration(const std::string& key);
const std::string& getConfiguration(const std::string& key,
const std::string& defaultValue);
const std::map<std::string, std::string>& configuration();
extern const std::map<std::string, std::string> default_configuration;
*/
|