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
Added const to avoid warnings
[yazpp-moved-to-github.git]
/
zoom
/
master-header
diff --git
a/zoom/master-header
b/zoom/master-header
index
39b90a0
..
4880937
100644
(file)
--- a/
zoom/master-header
+++ b/
zoom/master-header
@@
-1,4
+1,4
@@
-// $Id: master-header,v 1.14 2003-07-02 10:25:13 adam Exp $
+// $Id: master-header,v 1.17 2003-09-24 18:07:31 adam Exp $
//
// ZOOM C++ Binding.
// The ZOOM homepage is at http://zoom.z3950.org/
//
// ZOOM C++ Binding.
// The ZOOM homepage is at http://zoom.z3950.org/
@@
-49,6
+49,7
@@
namespace ZOOM {
* protected:
* ZOOM_query q;
public:
* protected:
* ZOOM_query q;
public:
+ query ();
virtual ~query ();
};
virtual ~query ();
};
@@
-85,9
+86,8
@@
namespace ZOOM {
class YAZ_EXPORT record {
* const resultSet &owner;
* ZOOM_record r;
class YAZ_EXPORT record {
* const resultSet &owner;
* ZOOM_record r;
-* friend class resultSet; // so it can use this constructor
public:
public:
- class syntax {
+ class YAZ_EXPORT syntax {
public:
enum value {
UNKNOWN, GRS1, SUTRS, USMARC, UKMARC, XML
public:
enum value {
UNKNOWN, GRS1, SUTRS, USMARC, UKMARC, XML
@@
-135,7
+135,7
@@
namespace ZOOM {
// bib1Exception::errcode() returns a code from the
// Bib-1 Diagnostic Set.
class YAZ_EXPORT bib1Exception: public exception {
// bib1Exception::errcode() returns a code from the
// Bib-1 Diagnostic Set.
class YAZ_EXPORT bib1Exception: public exception {
-* const std::string &info;
+* std::string info;
public:
* ~bib1Exception ();
bib1Exception (int code, const std::string &addinfo);
public:
* ~bib1Exception ();
bib1Exception (int code, const std::string &addinfo);
@@
-144,7
+144,7
@@
namespace ZOOM {
};
class YAZ_EXPORT queryException : public exception {
};
class YAZ_EXPORT queryException : public exception {
-* const std::string &q;
+* std::string q;
public:
* ~queryException ();
enum { PREFIX, CCL };
public:
* ~queryException ();
enum { PREFIX, CCL };