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