1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-02 14:04:22 +00:00

Rename settings stuff as it got moved to commonlib.

This commit is contained in:
King_DuckZ 2015-12-12 17:41:34 +00:00
parent 6e7176be10
commit 74afa9f502
7 changed files with 32 additions and 27 deletions

View file

@ -21,8 +21,8 @@
#include <string>
#include <cstdint>
namespace din {
struct DinDBSettings {
namespace dinlib {
struct SettingsDB {
std::string address;
std::string username;
std::string password;
@ -30,10 +30,11 @@ namespace din {
uint16_t port;
};
//struct DinSettings {
//};
struct Settings {
SettingsDB db;
};
bool load_settings ( const std::string& parPath, DinDBSettings& parOut );
} //namespace din
bool load_settings ( const std::string& parPath, Settings& parOut );
} //namespace dinlib
#endif