Update for YAZ 3s new OID system
[yazpp-moved-to-github.git] / include / yazpp / query.h
1 /*
2  * Copyright (c) 1998-2005, Index Data.
3  * See the file LICENSE for details.
4  * 
5  * $Id: query.h,v 1.2 2007-03-20 07:54:11 adam Exp $
6  */
7
8 #ifndef YAZ_PP_QUERY_H
9 #define YAZ_PP_QUERY_H
10
11 #include <stddef.h>
12 #include <yaz/yconfig.h>
13
14 namespace yazpp_1 {
15 /** Query
16     Generic Query.
17 */
18 class YAZ_EXPORT Yaz_Query {
19  public:
20     /// Print query in buffer described by str and len
21     virtual void print (char *str, size_t len) = 0;
22     virtual ~Yaz_Query();
23 };
24 };
25
26 #endif
27
28 /*
29  * Local variables:
30  * c-basic-offset: 4
31  * indent-tabs-mode: nil
32  * End:
33  * vim: shiftwidth=4 tabstop=8 expandtab
34  */
35