date and boolean data types added
This commit is contained in:
21
settings.h
Normal file
21
settings.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
namespace usql {
|
||||
|
||||
class Settings {
|
||||
|
||||
public:
|
||||
static long string_to_date(const std::string &datestr);
|
||||
static std::string date_to_string(long date);
|
||||
|
||||
private:
|
||||
static std::basic_string<char> get_setting(const std::string &name);
|
||||
|
||||
private:
|
||||
static std::vector<std::pair<std::string, std::string>> m_settings;
|
||||
};
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user