00001 #ifndef _DBOBJECTS_H 00002 #define _DBOBJECTS_H 00003 00004 // Context define declarations 00005 00006 // Forward extern class declarations 00007 00008 //@START_USER1 00013 /* -------------------------------------------------------------- 00014 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl> 00015 00016 This program is free software; you can redistribute it and/or 00017 modify it under the terms of the GNU General Public License 00018 as published by the Free Software Foundation; either 00019 version 2 of the License, or (at your option) any later 00020 version. 00021 00022 This program is distributed in the hope that it will be useful, 00023 but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00025 GNU General Public License for more details. 00026 00027 You should have received a copy of the GNU General Public License 00028 along with this program; if not, write to the Free Software 00029 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00030 -------------------------------------------------------------- */ 00031 #include <JTC/JTC.h> 00032 #include "anyconfig/CString.h" 00034 #define CB_PTR(a) a* 00035 #include <mysql.h> 00036 //@END_USER1 00037 00038 // Defines needed for relations between templated classes 00039 00040 // Forward class declarations 00041 class DOConnection; 00042 class DOQuery; 00043 class DOQueryField; 00044 class DOSnapshot; 00045 00046 // Needed ClassBuilder include files 00047 #include <assert.h> 00048 00049 // Make sure the inline implementations are skipped 00050 #ifdef CB_INLINES 00051 #undef CB_INLINES 00052 #endif 00053 00054 // Include classes, for declarations 00055 #include "QueryField.h" 00056 #include "Query.h" 00057 #include "Connection.h" 00058 #include "Snapshot.h" 00059 00060 00061 // Include classes again, for inline implementation 00062 #define CB_INLINES 00063 #include "Query.h" 00064 #include "QueryField.h" 00065 00066 //@START_USER2 00067 //@END_USER2 00068 00069 #endif 00070