Desktop client for Nextcloud to edit your notes.
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.

39 lines
671 B

#ifndef CONFIG_H
#define CONFIG_H
// STL includes
#include <map>
#include <string>
#include <vector>
// Qt includes
#include <QString>
// external includes
#include "config4cpp/Configuration.h"
// project includes
#include "log.h"
namespace tai {
class config
config() = delete;
explicit config(std::vector<QString> const& options);
inline QString const& options(QString const& o) { return; };
void insert(QString const& scope, QString const& localName, QString const& strValue);
QString getNextcloudFolder();
std::map<QString, QString> _options;
config4cpp::Configuration* _config;
#endif // CONFIG_H