mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T709, ctor from JSON string
This commit is contained in:
committed by
Mat Sutcliffe
parent
9982f9cfb9
commit
7004e85117
@@ -48,6 +48,11 @@ namespace BlackMisc
|
||||
CXSwiftBusSettingsQtFree::CXSwiftBusSettingsQtFree()
|
||||
{}
|
||||
|
||||
CXSwiftBusSettingsQtFree::CXSwiftBusSettingsQtFree(const std::string &json)
|
||||
{
|
||||
this->parseXSwiftBusString(json);
|
||||
}
|
||||
|
||||
bool CXSwiftBusSettingsQtFree::parseXSwiftBusString(const std::string &json)
|
||||
{
|
||||
if (json.empty()) { return false; }
|
||||
|
||||
@@ -27,6 +27,9 @@ namespace BlackMisc
|
||||
//! Constructor.
|
||||
CXSwiftBusSettingsQtFree();
|
||||
|
||||
//! JSON Constructor.
|
||||
CXSwiftBusSettingsQtFree(const std::string &json);
|
||||
|
||||
//! Dtor
|
||||
virtual ~CXSwiftBusSettingsQtFree() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user