summaryrefslogtreecommitdiffstats
path: root/src/devices/mem24/xml/mem24_xml_to_data.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-06 18:26:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-06 22:36:50 +0900
commitac3f0014232619edc41865f6e42e6510bdd8acc6 (patch)
tree9f851f02238781fb9ffe7f76ac446d25e9c92668 /src/devices/mem24/xml/mem24_xml_to_data.cpp
parent1c22ae157c39e2c1434e5ec43a05eda78dc86798 (diff)
downloadpiklab-ac3f0014232619edc41865f6e42e6510bdd8acc6.tar.gz
piklab-ac3f0014232619edc41865f6e42e6510bdd8acc6.zip
Allow generation of build time data files in out-of-source builds. Also fix generation of data file for devices/mem24 subfolder
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/devices/mem24/xml/mem24_xml_to_data.cpp')
-rw-r--r--src/devices/mem24/xml/mem24_xml_to_data.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/mem24/xml/mem24_xml_to_data.cpp b/src/devices/mem24/xml/mem24_xml_to_data.cpp
index d2a4da5..43f3ba5 100644
--- a/src/devices/mem24/xml/mem24_xml_to_data.cpp
+++ b/src/devices/mem24/xml/mem24_xml_to_data.cpp
@@ -18,6 +18,9 @@ namespace Mem24
class XmlToData : public Device::XmlToData<Data>
{
+public:
+ XmlToData(const TQString &folder) : Device::XmlToData<Data>(folder) {}
+
private:
virtual uint nbOutputFiles(uint) const { return 1; }
virtual bool isIncluded(uint, uint) const { return true; }