diff options
Diffstat (limited to 'src/xml_to_data/device_xml_to_data.h')
-rw-r--r-- | src/xml_to_data/device_xml_to_data.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xml_to_data/device_xml_to_data.h b/src/xml_to_data/device_xml_to_data.h index b505cdd..c535346 100644 --- a/src/xml_to_data/device_xml_to_data.h +++ b/src/xml_to_data/device_xml_to_data.h @@ -23,7 +23,7 @@ namespace Device class XmlToDataBase : public ::XmlToData { public: - XmlToDataBase() : _data(0) {} + XmlToDataBase(const TQString &folder) : XmlToData(folder), _data(0) {} protected: mutable Data *_data; @@ -49,6 +49,7 @@ template <class DataType> class XmlToData : public XmlToDataBase, public DataStreamer<DataType> { public: + XmlToData(const TQString &folder) : XmlToDataBase(folder) {} virtual Device::Data *createData() const { return new DataType; } DataType *data() { return static_cast<DataType *>(_data); } const DataType *data() const { return static_cast<DataType *>(_data); } |