00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 /*********************************************************************** 00012 Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by 00013 MySQL AB, and (c) 2004-2007 by Educational Technology Resources, Inc. 00014 Others may also hold copyrights on code in this file. See the CREDITS 00015 file in the top directory of the distribution for details. 00016 00017 This file is part of MySQL++. 00018 00019 MySQL++ is free software; you can redistribute it and/or modify it 00020 under the terms of the GNU Lesser General Public License as published 00021 by the Free Software Foundation; either version 2.1 of the License, or 00022 (at your option) any later version. 00023 00024 MySQL++ is distributed in the hope that it will be useful, but WITHOUT 00025 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00026 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 00027 License for more details. 00028 00029 You should have received a copy of the GNU Lesser General Public 00030 License along with MySQL++; if not, write to the Free Software 00031 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 00032 USA 00033 ***********************************************************************/ 00034 00035 #ifndef MYSQLPP_MYSQLPP_H 00036 #define MYSQLPP_MYSQLPP_H 00037 00042 #define MYSQLPP_VERSION(major, minor, bugfix) \ 00043 (((major) << 16) | ((minor) << 8) | (bugfix)) 00044 00052 #define MYSQLPP_HEADER_VERSION MYSQLPP_VERSION(2, 3, 2) 00053 00054 // This #include order gives the fewest redundancies in the #include 00055 // dependency chain. 00056 #include "connection.h" 00057 #include "query.h" 00058 #include "sql_types.h" 00059 00060 namespace mysqlpp { 00061 00069 MYSQLPP_EXPORT unsigned int get_library_version(); 00070 00071 } // end namespace mysqlpp 00072 00073 #endif // !defined(MYSQLPP_MYSQLPP_H) 00074 00075