Commit Graph

8 Commits

Author SHA1 Message Date
Klaus Basan
14e396bce0 Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor 2019-08-15 20:32:57 +02:00
Klaus Basan
bd49f5151a Ref T709, doxygen 2019-08-14 00:22:36 +02:00
Mat Sutcliffe
3d413c749c Ref T709 Encapsulate the CSettingsProvider pointer in a CSettingsAware base class. 2019-08-13 20:18:23 +01:00
Mat Sutcliffe
dbba3ccf6f Ref T709 Prevent instantiation of CXSwiftBusSettingsQtFree, to avoid slicing.
- Constructors and destructor are protected.
- Therefore destructor doesn't need to be virtual.
- objectUpdated is pure virtual, so the class is abstract.
- Both derived classes are declared final.
2019-08-12 22:39:14 +01:00
Klaus Basan
08ba4d8f65 Ref T709, review points
* overload "normalize"
* renamed to CSettingsProvider
2019-08-11 23:16:09 +01:00
Klaus Basan
c97f1974d7 Ref T709, settings provider to get settings
* allows to use the provider without and overhead
* single source, can be made threadsafe

Signed-off-by: Klaus Basan <klaus.basan@klausbasan.de>
2019-08-11 23:15:52 +01:00
Klaus Basan
cb4d291621 Ref T709, ctor from JSON string 2019-08-11 23:15:51 +01:00
Klaus Basan
2d2eca6ccd Ref T709, added XSwiftBus settings class als based on the same Qt free base class
In order to compile included the cpp file
2019-08-11 23:15:44 +01:00