From: Mike Taylor Date: Mon, 4 Nov 2002 23:08:49 +0000 (+0000) Subject: Subtle tweaks to ZOOM's master-header. Cosmetic only. X-Git-Tag: YAZPP.0.6~42 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=cab0bf4857384ead5b39b3f79d8309fefa62a166;p=yazpp-moved-to-github.git Subtle tweaks to ZOOM's master-header. Cosmetic only. These are so that I can use its generated inferface.h as version 1.3a of the ZOOM C++ binding specificiation with minimal unnecessary chnges from 1.0g --- diff --git a/zoom/Changes b/zoom/Changes index dfdbabc..642e35d 100644 --- a/zoom/Changes +++ b/zoom/Changes @@ -1,4 +1,4 @@ -$Header: /home/cvsroot/yaz++/zoom/Attic/Changes,v 1.4 2002-10-08 23:54:55 mike Exp $ +$Header: /home/cvsroot/yaz++/zoom/Attic/Changes,v 1.5 2002-11-04 23:08:49 mike Exp $ Changes between the current version of the C++ binding specification (http://zoom.z3950.org/bind/cplusplus/zoom-1.0g.hh) and the @@ -9,8 +9,6 @@ expect to become version 1.3a of the official specification.) Add #include for size_t. -Add comment about G++'s rejection of throw(ZOOM:exception) clause. - Add destructor declaration to connection class. Remove errcode(), errmsg() and addinfo() methods from the connection @@ -23,14 +21,14 @@ an UNKNOWN element. Remove "virtual" from all the record class's methods, including its destructor, since we no longer expect to derive record subclasses representing records expressed in specific record-syntaxes -- see -version 1.3 of the ZOOM AAPI. +section ### of version 1.3 of the ZOOM AAPI. Remove the nfields() and field() methods from the record class -- -again, see v1.3 of the AAPI. +see section ### of v1.3 of the AAPI. Rename the error class to exception, and its subclasses likewise. I think that's Telling It Like It Is, and it's certainly more in tune -with the was v1.3 of the AAPI is going. +with the way v1.3 of the AAPI is going. Add some substance to the exception base class: it can now be created (with an error-code specified), and the error-code may be both fetched diff --git a/zoom/Makefile.am b/zoom/Makefile.am index 7371eba..c75f866 100644 --- a/zoom/Makefile.am +++ b/zoom/Makefile.am @@ -1,4 +1,4 @@ -# $Header: /home/cvsroot/yaz++/zoom/Makefile.am,v 1.6 2002-10-30 10:03:52 adam Exp $ +# $Header: /home/cvsroot/yaz++/zoom/Makefile.am,v 1.7 2002-11-04 23:08:49 mike Exp $ AM_CXXFLAGS= $(YAZINC) @@ -29,5 +29,5 @@ zoom.h: master-header interface.h: master-header rm -f $@ - grep -v '^*' $< | sed 's/YAZ_EXPORT//g' > $@ + grep -v '^*' $< | sed 's/YAZ_EXPORT //g' > $@ chmod -w $@ diff --git a/zoom/master-header b/zoom/master-header index de6a11e..09a6b70 100644 --- a/zoom/master-header +++ b/zoom/master-header @@ -1,4 +1,4 @@ -// $Header: /home/cvsroot/yaz++/zoom/master-header,v 1.6 2002-10-30 10:03:52 adam Exp $ +// $Header: /home/cvsroot/yaz++/zoom/master-header,v 1.7 2002-11-04 23:08:49 mike Exp $ // // ZOOM C++ Binding. // The ZOOM homepage is at http://zoom.z3950.org/ @@ -18,7 +18,6 @@ * */ *#include * - namespace ZOOM { // Forward declarations for type names. class YAZ_EXPORT query;