Update WIN32 with new source for virtual desctructors
[yazpp-moved-to-github.git] / include / yaz++ / query.h
index 8d2e42f..7ec2f4d 100644 (file)
@@ -2,10 +2,15 @@
  * Copyright (c) 1998-2000, 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.4 2005-09-22 12:40:45 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() = 0;
+};
 };
 
+#endif
+
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+