summaryrefslogtreecommitdiff
path: root/src/configure.h
blob: 95b6765e1102756121285a8d25bd4f7fedbe7148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// -*- c++ -*-
#pragma once

#include <filesystem>
#include <string>
#include <map>

extern std::filesystem::path configurationFile;;
extern std::filesystem::path configHeaderFile;

int configure(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;