Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

mysql++.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 /***********************************************************************
00015  Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by
00016  MySQL AB, and (c) 2004-2006 by Educational Technology Resources, Inc.
00017  Others may also hold copyrights on code in this file.  See the CREDITS
00018  file in the top directory of the distribution for details.
00019 
00020  This file is part of MySQL++.
00021 
00022  MySQL++ is free software; you can redistribute it and/or modify it
00023  under the terms of the GNU Lesser General Public License as published
00024  by the Free Software Foundation; either version 2.1 of the License, or
00025  (at your option) any later version.
00026 
00027  MySQL++ is distributed in the hope that it will be useful, but WITHOUT
00028  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00029  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
00030  License for more details.
00031 
00032  You should have received a copy of the GNU Lesser General Public
00033  License along with MySQL++; if not, write to the Free Software
00034  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
00035  USA
00036 ***********************************************************************/
00037 
00038 #if !defined(MYSQLPP_MYSQLPP_H)
00039 #define MYSQLPP_MYSQLPP_H
00040 
00041 // Encode MySQL++ library version number.  MYSQLPP_VERSION macro takes
00042 // major, minor and bugfix numbers (e.g. 1, 2, and 3) and encodes them
00043 // like 0x010203.  MYSQLPP_LIB_VERSION is the current library version
00044 // in the same scheme, so between these two macros you can create
00045 // conditional code based on the MySQL++ library version.
00046 #define MYSQLPP_VERSION(major, minor, bugfix) \
00047                 (((major) << 16) | ((minor) << 8) | (bugfix))
00048 #define MYSQLPP_LIB_VERSION MYSQLPP_VERSION(2, 1, 0)
00049 
00050 // This #include order gives the fewest redundancies in the #include
00051 // dependency chain.
00052 #include "connection.h"
00053 #include "query.h"
00054 #include "sql_types.h"
00055 
00056 #endif // !defined(MYSQLPP_MYSQLPP_H)
00057 
00058 

Generated on Fri Mar 24 14:04:24 2006 for MySQL++ by doxygen1.2.18