projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use non-pure virtual destructors
[yazpp-moved-to-github.git]
/
include
/
yaz++
/
query.h
diff --git
a/include/yaz++/query.h
b/include/yaz++/query.h
index
8d2e42f
..
d27a33c
100644
(file)
--- a/
include/yaz++/query.h
+++ b/
include/yaz++/query.h
@@
-1,11
+1,16
@@
/*
/*
- * Copyright (c) 1998-2000, Index Data.
+ * Copyright (c) 1998-2005, Index Data.
* See the file LICENSE for details.
*
* 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.
*/
/** 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;
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
+ */
+