Change the ZOOM code to generate and use "zoom.h" rather than "zoom++.h"
authorMike Taylor <mike@indexdata.com>
Wed, 9 Oct 2002 09:07:10 +0000 (09:07 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 9 Oct 2002 09:07:10 +0000 (09:07 +0000)
so that you don't have to #include <yaz++/zoom++.h>.  Also, tweak the
in-progress documentation accordingly.

doc/zoom.xml
zoom/.cvsignore
zoom/Makefile.am
zoom/README
zoom/zclient.cpp
zoom/zconn.cpp
zoom/zexcept.cpp
zoom/zquery.cpp
zoom/zrec.cpp
zoom/zrs.cpp

index cc4485e..709a295 100644 (file)
@@ -1,5 +1,5 @@
 <chapter id="zoom">
- <!-- $Id: zoom.xml,v 1.2 2002-10-08 23:52:40 mike Exp $ -->
+ <!-- $Id: zoom.xml,v 1.3 2002-10-09 09:07:10 mike Exp $ -->
  <title>ZOOM-C++</title>
 
  <sect1 id="zoom.introduction">
@@ -29,7 +29,7 @@
    from the Library of Congress's Z39.50 server:
    <screen>
     #include &lt;iostream&gt;
-    #include &lt;yaz++/zoom++.h&gt;
+    #include &lt;yaz++/zoom.h&gt;
 
     using namespace ZOOM;
 
index e055020..ab69d1d 100644 (file)
@@ -1,4 +1,9 @@
+.deps
+.libs
 Makefile
 Makefile.in
 interface.h
-zoom++.h
+zoom.h
+libzoomcpp.la
+zclient
+*.lo
index b9290ff..e9057ab 100644 (file)
@@ -1,4 +1,4 @@
-# $Header: /home/cvsroot/yaz++/zoom/Makefile.am,v 1.2 2002-10-08 23:53:55 mike Exp $
+# $Header: /home/cvsroot/yaz++/zoom/Makefile.am,v 1.3 2002-10-09 09:07:10 mike Exp $
 
 AM_CXXFLAGS= $(YAZINC) 
 
@@ -6,7 +6,7 @@ lib_LTLIBRARIES = libzoomcpp.la
 LDADD=libzoomcpp.la $(YAZLALIB)
 
 mirk_XXX_SOURCES = zexcept.cpp zconn.cpp zquery.cpp zrs.cpp zrec.cpp
-libzoomcpp_la_SOURCES = $(mirk_XXX_SOURCES) zoom++.h interface.h
+libzoomcpp_la_SOURCES = $(mirk_XXX_SOURCES) zoom.h interface.h
 
 noinst_PROGRAMS = zclient
 
@@ -19,9 +19,9 @@ all: interface.h zclient
 test: zclient
        ./zclient bagel.indexdata.dk 210 gils '@and mineral epicenter'
 
-$(mirk_XXX_SOURCES): zoom++.h
+$(mirk_XXX_SOURCES): zoom.h
 
-zoom++.h: master-header
+zoom.h: master-header
        rm -f $@
        sed 's/^*       /       /; s/^*/ /' $< > $@
        chmod -w $@
index c5b0366..581c7be 100644 (file)
@@ -17,9 +17,9 @@ by asterisks ("*").  So we have:
        interface.h     The read-only, automatically-generated file
                        that can be considered a formal specification
                        of the ZOOM C++ interface.
-       zoom++.h        The read-only, automatically-generated file
+       zoom.h          The read-only, automatically-generated file
                        that is actually used in the build process,
-                       and ought quite possibly to be moved into
+                       and ultimately installed into
                        ../include/yaz++/zoom.h
 
 Documentation (in DocBook format) is in "../doc/zoom.xml"
index 16a2ae3..53e2f9d 100644 (file)
@@ -1,10 +1,10 @@
-// $Header: /home/cvsroot/yaz++/zoom/zclient.cpp,v 1.3 2002-10-08 23:55:52 mike Exp $
+// $Header: /home/cvsroot/yaz++/zoom/zclient.cpp,v 1.4 2002-10-09 09:07:10 mike Exp $
 
 // Simple sample client
 
 #include <stdlib.h>            // for atoi()
 #include <iostream.h>
-#include "zoom++.h"
+#include "zoom.h"
 
 
 int main(int argc, char **argv)
index 8aad4ab..9b02a9b 100644 (file)
@@ -1,8 +1,8 @@
-// $Header: /home/cvsroot/yaz++/zoom/zconn.cpp,v 1.2 2002-08-08 16:06:08 mike Exp $
+// $Header: /home/cvsroot/yaz++/zoom/zconn.cpp,v 1.3 2002-10-09 09:07:10 mike Exp $
 
 // Z39.50 Connection class
 
-#include "zoom++.h"
+#include "zoom.h"
 
 
 namespace ZOOM {
index e37edfc..bb8743a 100644 (file)
@@ -1,4 +1,4 @@
-// $Header: /home/cvsroot/yaz++/zoom/zexcept.cpp,v 1.2 2002-10-08 23:57:29 mike Exp $
+// $Header: /home/cvsroot/yaz++/zoom/zexcept.cpp,v 1.3 2002-10-09 09:07:10 mike Exp $
 
 // Z39.50 Exception classes
 
@@ -6,7 +6,7 @@
 #include <string.h>            // for strerror(), strlen(), strcpy()
 #include <stdio.h>             // for sprintf()
 #include <yaz/diagbib1.h>
-#include "zoom++.h"
+#include "zoom.h"
 
 
 namespace ZOOM {
index 602663f..154e3ce 100644 (file)
@@ -1,8 +1,8 @@
-// $Header: /home/cvsroot/yaz++/zoom/zquery.cpp,v 1.2 2002-08-08 16:06:08 mike Exp $
+// $Header: /home/cvsroot/yaz++/zoom/zquery.cpp,v 1.3 2002-10-09 09:07:10 mike Exp $
 
 // Z39.50 Query classes
 
-#include "zoom++.h"
+#include "zoom.h"
 
 
 namespace ZOOM {
index 09dee2f..8537718 100644 (file)
@@ -1,8 +1,8 @@
-// $Header: /home/cvsroot/yaz++/zoom/zrec.cpp,v 1.3 2002-08-08 16:14:26 mike Exp $
+// $Header: /home/cvsroot/yaz++/zoom/zrec.cpp,v 1.4 2002-10-09 09:07:10 mike Exp $
 
 // Z39.50 Record class
 
-#include "zoom++.h"
+#include "zoom.h"
 #include <yaz/yaz-util.h>      // for yaz_matchstr()
 
 
index 48e212c..3ccce51 100644 (file)
@@ -1,8 +1,8 @@
-// $Header: /home/cvsroot/yaz++/zoom/zrs.cpp,v 1.2 2002-08-08 16:06:08 mike Exp $
+// $Header: /home/cvsroot/yaz++/zoom/zrs.cpp,v 1.3 2002-10-09 09:07:10 mike Exp $
 
 // Z39.50 Result Set class
 
-#include "zoom++.h"
+#include "zoom.h"
 
 
 namespace ZOOM {