Author: mysqlpp
Date: Sun May 18 13:46:29 2008
New Revision: 2291

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2291&view=rev
Log:
Removed the tutorial section covering buried MySQL++ headers: it's
covered in the configuration chapter now.

Modified:
    trunk/doc/userman/tutorial.dbx

Modified: trunk/doc/userman/tutorial.dbx
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/tutorial.dbx?rev=2291&r1=2290&r2=2291&view=diff
==============================================================================
--- trunk/doc/userman/tutorial.dbx (original)
+++ trunk/doc/userman/tutorial.dbx Sun May 18 13:46:29 2008
@@ -180,52 +180,6 @@
     fields in the row objects by name, instead of index. This is slower,
     but obviously clearer. We’re also printing out the entire
     table, not just one column.</para>
-  </sect2>
-
-
-  <sect2 id="headers">
-    <title>#including MySQL++ Headers</title>
-
-    <para>You&rsquo;ll notice above that we&rsquo;re including
-    <filename>mysql++.h</filename> in the examples. There are many
-    headers in MySQL++, but this brings in all but one of them for you.
-    MySQL++ has a pretty cohesive design: it doesn&rsquo;t have very
-    many pieces that are truly independent of the others. So,
-    there&rsquo;s not much advantage in including the few headers you
-    think you need individually: you&rsquo;re likely to also drag in all
-    the rest indirectly.</para>
-
-    <para>The one header that <filename>mysql++.h</filename>
-    doesn&rsquo;t
-    bring in for you is <filename>ssqls.h</filename>, which is only
-    useful if you use the optional <xref linkend="ssqlsintro"/>
-    feature.</para>
-
-    <para>By default on Unixy systems, MySQL++ installs its headers into
-    a <filename>mysql++</filename> subdirectory of one of the main
-    system include directories, either <filename>/usr/include</filename>
-    or <filename>/usr/local/include</filename>. Since it&rsquo;s typical
-    for either or both of these directories to be in your
-    program&rsquo;s include path already, you might be wondering if you
-    can include the main MySQL++ header like this:</para>
-
-    <programlisting>#include &lt;mysql++/mysql++.h&gt;</programlisting>
-
-    <para>The answer is, yes you can. You don&rsquo;t need to do anything
-    special to make it work.</para>
-
-    <para>Since MySQL is usually installed in much the same way
-    (<filename>/usr/include/mysql</filename> is common, for example),
-    you might then ask if you can get away without having the MySQL C
-    API header directory to your program&rsquo;s include path. You can,
-    but <filename>mysql++.h</filename> requires a little help from your
-    program to find the C API headers when you do this:</para>
-
-    <programlisting>#define MYSQLPP_MYSQL_HEADERS_BURIED
-#include &lt;mysql++/mysql++.h&gt;</programlisting>
-
-    <para>This tells it to prefix all includes for C API headers with
-    <filename>mysql/</filename>.</para>
   </sect2>
 
 


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to