The list of connections is now saved and loaded on program shutdown and start.
This commit is contained in:
parent
cf4d6e769b
commit
7181c7f1e7
8 changed files with 128 additions and 44 deletions
|
|
@ -17,8 +17,8 @@ class ConnectionConfig {
|
|||
public:
|
||||
ConnectionConfig();
|
||||
|
||||
void setDescription(std::string desc);
|
||||
const std::string& description() const;
|
||||
void setName(std::string desc);
|
||||
const std::string& name() const;
|
||||
|
||||
void setHost(std::string host);
|
||||
const std::string& host() const;
|
||||
|
|
@ -57,7 +57,7 @@ public:
|
|||
const char * const * getValues() const;
|
||||
|
||||
private:
|
||||
std::string m_description;
|
||||
std::string m_name;
|
||||
std::string m_host;
|
||||
std::string m_hostaddr;
|
||||
std::string m_port = "5432";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue