00001 /* 00002 * $Id:DriverInfo.h 540 2007-08-20 07:51:56Z mindstorm2600 $ 00003 * 00004 * X-VR2 00005 * 00006 * Copyright (C) Juan V. Guerrero 2007 00007 * 00008 * Juan V. Guerrero <mindstorm2600@users.sourceforge.net> 00009 * 00010 * This program is free software, distributed under the terms of 00011 * the GNU General Public License Version 2. See the LICENSE file 00012 * at the top of the source tree. 00013 */ 00014 #include<xvr2/xvr2config.h> 00015 #include<xvr2/Object.h> 00016 #include<xvr2/String.h> 00017 00018 #ifndef __XVR2_SQL_DriverInfo_H__ 00019 #define __XVR2_SQL_DriverInfo_H__ 00020 00021 namespace xvr2{ 00022 namespace SQL { 00026 class DriverInfo:public Object{ 00027 private: 00028 protected: 00030 int __version; 00032 int __revision; 00034 String __vendor; 00036 String __description; 00037 public: 00039 DriverInfo(); 00043 DriverInfo(int ver, int rev, const String &vend); 00047 DriverInfo(int ver, int rev, const String &vend, const String &desc); 00051 ~DriverInfo(); 00054 const int version(); 00057 const int revision(); 00060 const String &vendor(); 00063 const String &description(); 00064 }; 00065 }; 00066 }; 00067 00068 #endif