kexi

global.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2003-2005 Jaroslaw Staniek <js@iidea.pl>
00003 
00004    This program is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License as published by the Free Software Foundation; either
00007    version 2 of the License, or (at your option) any later version.
00008 
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this program; see the file COPYING.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018 */
00019 
00020 #ifndef KEXIDB_GLOBAL_H
00021 #define KEXIDB_GLOBAL_H
00022 
00023 #include <kexidb/kexidb_export.h>
00024 
00025 //global public definitions
00026 
00034 #define KEXIDB_VERSION_MAJOR 1
00035 #define KEXIDB_VERSION_MINOR 7
00036 
00037 
00093 namespace KexiDB {
00094 
00095 #define KexiDBDbg  kdDebug(44000)   
00096 #define KexiDBDrvDbg kdDebug(44001) 
00097 #define KexiDBWarn  kdWarning(44000)
00098 #define KexiDBDrvWarn kdWarning(44001)
00099 
00101 KEXI_DB_EXPORT int versionMajor();
00102 
00104 KEXI_DB_EXPORT int versionMinor();
00105 
00107 enum ObjectTypes {
00108     UnknownObjectType = -1, 
00109     AnyObjectType = 0,      
00110     TableObjectType = 1,
00111     QueryObjectType = 2,
00112     LastObjectType = 2, //ALWAYS UPDATE THIS
00113 
00114     KexiDBSystemTableObjectType = 128,
00115 
00116 
00117     IndexObjectType = 256 
00118 };
00119 
00120 }
00121 
00122 #endif
00123 
KDE Home | KDE Accessibility Home | Description of Access Keys