The upgrade to automake 1.8/1.9 causes the product dist to be called
[yazpp-moved-to-github.git] / include / yazpp / cql2rpn.h
diff --git a/include/yazpp/cql2rpn.h b/include/yazpp/cql2rpn.h
new file mode 100644 (file)
index 0000000..9424643
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 1998-2004, Index Data.
+ * See the file LICENSE for details.
+ * 
+ * $Id: cql2rpn.h,v 1.1 2006-03-29 13:14:15 adam Exp $
+ */
+
+#include <yaz/cql.h>
+#include <yaz/z-core.h>
+
+namespace yazpp_1 {
+class YAZ_EXPORT Yaz_cql2rpn {
+ public:
+    Yaz_cql2rpn();
+    ~Yaz_cql2rpn();
+    void set_pqf_file(const char *fname);
+    int query_transform(const char *cql, Z_RPNQuery **rpnquery, ODR o,
+                        char **addinfop);
+ private:
+    cql_transform_t m_transform;
+};
+};
+
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+