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
Update news
[yazpp-moved-to-github.git]
/
zoom
/
zquery.cpp
diff --git
a/zoom/zquery.cpp
b/zoom/zquery.cpp
index
d2f699d
..
a729235
100644
(file)
--- a/
zoom/zquery.cpp
+++ b/
zoom/zquery.cpp
@@
-1,5
+1,3
@@
-// $Header: /home/cvsroot/yaz++/zoom/zquery.cpp,v 1.6 2003-09-22 13:01:54 mike Exp $
-
// Z39.50 Query classes
#include "zoom.h"
// Z39.50 Query classes
#include "zoom.h"
@@
-9,13
+7,13
@@
namespace ZOOM {
query::query() : q(ZOOM_query_create()) {
}
query::~query() {
query::query() : q(ZOOM_query_create()) {
}
query::~query() {
- ZOOM_query_destroy(q);
+ ZOOM_query_destroy(q);
}
prefixQuery::prefixQuery(const std::string &pqn) {
}
prefixQuery::prefixQuery(const std::string &pqn) {
- if (ZOOM_query_prefix(q, pqn.c_str()) == -1) {
- throw queryException(queryException::PREFIX, pqn);
- }
+ if (ZOOM_query_prefix(q, pqn.c_str()) == -1) {
+ throw queryException(queryException::PREFIX, pqn);
+ }
}
// The binding specification says we have to have destructors for
}
// The binding specification says we have to have destructors for
@@
-39,9
+37,18
@@
namespace ZOOM {
CCLQuery::CCLQuery(const std::string &, void *) {
CCLQuery::CCLQuery(const std::string &, void *) {
- throw "Oops. No CCL support in ZOOM-C yet. Sorry.";
+ throw "Oops. No CCL support in ZOOM-C yet. Sorry.";
}
CCLQuery::~CCLQuery() {
}
}
}
CCLQuery::~CCLQuery() {
}
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+