summaryrefslogtreecommitdiffstats
path: root/dom/xslt/xslt/txXSLTProcessor.h
blob: f06a8852196effd5beb3b27651e3b529782d5b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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