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:
parent
6e7176be10
commit
74afa9f502
7 changed files with 32 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue