AutoCatGnome/services/Settings.h
2022-02-23 15:14:13 +03:00

25 lines
393 B
C++

//
// Created by selim on 09.01.2022.
//
#ifndef AUTOCAT_GNOME_SETTINGS_H
#define AUTOCAT_GNOME_SETTINGS_H
#include "../models/User.h"
#include <filesystem>
class Settings {
private:
std::filesystem::path _dataPath;
public:
static Settings instance();
Settings();
[[nodiscard]] User user() const;
void setUser(const User& user);
};
#endif //AUTOCAT_GNOME_SETTINGS_H