Ref T709, added XSwiftBus settings class als based on the same Qt free base class

In order to compile included the cpp file
This commit is contained in:
Klaus Basan
2019-07-25 16:32:22 +02:00
committed by Mat Sutcliffe
parent 246ed0d955
commit 94f519961b
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
/* Copyright (C) 2019
* swift Project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated,
* or distributed except according to the terms contained in the LICENSE file.
*/
// include whole code in this translation unit, as this code is used on swift/and XSWiftBus side
// BLACKMISC_EXPORT cannot be used
#include "blackmisc/simulation/settings/xswiftbussettingsqtfree.cpp"
#include "settings.h"
#include <string>
using namespace BlackMisc::Simulation::Settings;
namespace XSwiftBus
{
CSettings::CSettings() : CXSwiftBusSettingsQtFree()
{
// void
}
CSettings::~CSettings()
{
// void
}
} // ns

31
src/xswiftbus/settings.h Normal file
View File

@@ -0,0 +1,31 @@
/* Copyright (C) 2019
* swift Project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated,
* or distributed except according to the terms contained in the LICENSE file.
*/
#ifndef BLACKMISC_XSWIFTBUS_CSETTINGS_H
#define BLACKMISC_XSWIFTBUS_CSETTINGS_H
#include "blackmisc/simulation/settings/xswiftbussettingsqtfree.h"
#include <string>
namespace XSwiftBus
{
/*!
* XSwiftBus/swift side settings class, JSON capable, shared among all services
*/
class CSettings : public BlackMisc::Simulation::Settings::CXSwiftBusSettingsQtFree
{
public:
//! Constructor.
CSettings();
//! Destructor;
~CSettings();
};
} // ns
#endif