[PATCH 05/10] Hook up XSLT and include it in resources

Miika Turkia miika.turkia at gmail.com
Fri Jan 24 23:49:24 UTC 2014


XSLT to import manually kept CSV logs is hooked up and included in
resources.

Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
 parse-xml.c    | 1 +
 subsurface.qrc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/parse-xml.c b/parse-xml.c
index 56bfc09..7ee3323 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1914,6 +1914,7 @@ static struct xslt_files {
 	{ "Divinglog", "DivingLog.xslt" },
 	{ "csv", "csv2xml.xslt" },
 	{ "sensuscsv", "sensuscsv.xslt" },
+	{ "manualcsv", "manualcsv2xml.xslt" },
 	{ NULL, }
 };
 
diff --git a/subsurface.qrc b/subsurface.qrc
index 91703af..20cd4dd 100644
--- a/subsurface.qrc
+++ b/subsurface.qrc
@@ -42,5 +42,6 @@
         <file>xslt/uddf-export.xslt</file>
         <file>xslt/uddf.xslt</file>
         <file>xslt/sensuscsv.xslt</file>
+        <file>xslt/manualcsv2xml.xslt</file>
  </qresource>
  </RCC>
-- 
1.8.3.2



More information about the subsurface mailing list