VTK
dox/IO/MySQL/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 "vtkIOMySQLModule.h" // For export macro
00009 #include <mysql.h> // needed for MYSQL typedefs
00010 
00011 class VTKIOMYSQL_EXPORT vtkMySQLDatabasePrivate
00012 {
00013 public:
00014   vtkMySQLDatabasePrivate() :
00015     Connection( NULL )
00016   {
00017   mysql_init( &this->NullConnection );
00018   }
00019 
00020   MYSQL NullConnection;
00021   MYSQL *Connection;
00022 };
00023 
00024 #endif // __vtkMySQLDatabasePrivate_h
00025 // VTK-HeaderTest-Exclude: vtkMySQLDatabasePrivate.h