summaryrefslogtreecommitdiffstats
path: root/dom/xslt/xslt/txXSLTProcessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xslt/xslt/txXSLTProcessor.h')
-rw-r--r--dom/xslt/xslt/txXSLTProcessor.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/dom/xslt/xslt/txXSLTProcessor.h b/dom/xslt/xslt/txXSLTProcessor.h
new file mode 100644
index 0000000000..f06a885219
--- /dev/null
+++ b/dom/xslt/xslt/txXSLTProcessor.h
@@ -0,0 +1,26 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef TRANSFRMX_TXXSLTPROCESSOR_H
+#define TRANSFRMX_TXXSLTPROCESSOR_H
+
+#include "txExecutionState.h"
+
+class txXSLTProcessor {
+ public:
+ /**
+ * Initialisation and shutdown routines. Initilizes and cleansup all
+ * dependant classes
+ */
+ static bool init();
+ static void shutdown();
+
+ static nsresult execute(txExecutionState& aEs);
+
+ // once we want to have interuption we should probably have functions for
+ // running X number of steps or running until a condition is true.
+};
+
+#endif