VTK
dox/IO/vtkMySQLDatabasePrivate.h
Go to the documentation of this file.
00001 #ifndef __vtkMySQLDatabasePrivate_h
00002 #define __vtkMySQLDatabasePrivate_h
00003 
00004 #ifdef _WIN32
00005 # include <winsock.h> // mysql.h relies on the typedefs from here
00006 #endif
00007 
00008 #include <mysql.h> // needed for MYSQL typedefs
00009 
00010 class VTK_IO_EXPORT vtkMySQLDatabasePrivate
00011 {
00012 public:
00013   vtkMySQLDatabasePrivate() :
00014     Connection( NULL )
00015   {
00016   mysql_init( &this->NullConnection );
00017   }
00018 
00019   MYSQL NullConnection;
00020   MYSQL *Connection;
00021 };
00022 
00023 #endif // __vtkMySQLDatabasePrivate_h