- Removed the direct calls to TextCollection, use XMLTree wrapper instead
[SXSI/xpathcomp.git] / OCamlStorageInterface.h
diff --git a/OCamlStorageInterface.h b/OCamlStorageInterface.h
deleted file mode 100644 (file)
index 08e44ce..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*****************************************
- * OCamlStorageInterface.h
- * ------------------------
- * Header file for an OCaml Storage Interface
- * 
- * Author: Kim Nguyen
- * Date: 04/11/08
- */
-
-#ifndef OCAMLSTORAGEINTERFACE_H_
-#define OCAMLSTORAGEINTERFACE_H_
-
-#include "StorageInterface.h"
-extern "C" {
-/* OCaml memory managment */
-
-#include <caml/mlvalues.h>
-#include <caml/alloc.h>
-#include <caml/memory.h>
-#include <caml/callback.h>
-
-}// extern C
-
-#include <list>
-
-using namespace std;
-
-class OCamlStorageInterface: public StorageInterface
-{
- public:
-       OCamlStorageInterface();
-       virtual ~OCamlStorageInterface();
-       virtual void newChild(string name);
-       virtual void newText(string text); 
-       virtual void nodeFinished();
-       virtual void parsingFinished();
-       virtual void* returnDocument();
-       
- private:
-       value getDocument();
-       list<value> stack;
-       value document;
-       int nodeid;
-};
-
-
-#endif /*OCAMLSTORAGEINTERFACE_H_*/
-