]> git.sven.stormbind.net Git - sven/vym.git/blobdiff - src/xsltproc.h
New upstream version 2.9.22
[sven/vym.git] / src / xsltproc.h
diff --git a/src/xsltproc.h b/src/xsltproc.h
new file mode 100644 (file)
index 0000000..dcfb02b
--- /dev/null
@@ -0,0 +1,31 @@
+#ifndef XSLTPROC_H
+#define XSLTPROC_H
+
+#include <qstring.h>
+#include <qstringlist.h>
+
+#include "showtextdialog.h"
+
+class XSLTProc {
+  public:
+    XSLTProc();
+    ~XSLTProc();
+    void addStringParam(const QString &, const QString &);
+    void setOutputFile(const QString &);
+    void setXSLFile(const QString &);
+    void setInputFile(const QString &);
+    void addOutput(const QString &);
+    void process();
+
+  private:
+    QStringList stringParamKey;
+    QStringList stringParamVal;
+    QString outputFile;
+    QString inputFile;
+    QString xslFile;
+    QString xsltprocessor;
+    bool showOutput;
+    ShowTextDialog *dia;
+};
+
+#endif