Move to automake 1.8/1.9
[yazpp-moved-to-github.git] / include / yaz++ / query.h
index 8d2e42f..d27a33c 100644 (file)
@@ -1,11 +1,16 @@
 /*
- * Copyright (c) 1998-2000, Index Data.
+ * Copyright (c) 1998-2005, Index Data.
  * See the file LICENSE for details.
  * 
- * $Id: query.h,v 1.1 2002-10-09 12:50:26 adam Exp $
+ * $Id: query.h,v 1.5 2005-09-23 13:11:04 adam Exp $
  */
 
+#ifndef YAZ_PP_QUERY_H
+#define YAZ_PP_QUERY_H
 
+#include <yaz/yconfig.h>
+
+namespace yazpp_1 {
 /** Query
     Generic Query.
 */
@@ -13,5 +18,17 @@ class YAZ_EXPORT Yaz_Query {
  public:
     /// Print query in buffer described by str and len
     virtual void print (char *str, int len) = 0;
+    virtual ~Yaz_Query();
+};
 };
 
+#endif
+
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+