VTK
vtkMySQLDatabasePrivate.h
Go to the documentation of this file.
1 #ifndef vtkMySQLDatabasePrivate_h
2 #define vtkMySQLDatabasePrivate_h
3 
4 #ifdef _WIN32
5 # include <winsock.h> // mysql.h relies on the typedefs from here
6 #endif
7 
8 #include "vtkIOMySQLModule.h" // For export macro
9 #include <mysql.h> // needed for MYSQL typedefs
10 
11 class VTKIOMYSQL_EXPORT vtkMySQLDatabasePrivate
12 {
13 public:
15  Connection( NULL )
16  {
17  mysql_init( &this->NullConnection );
18  }
19 
21  MYSQL *Connection;
22 };
23 
24 #endif // vtkMySQLDatabasePrivate_h
25 // VTK-HeaderTest-Exclude: vtkMySQLDatabasePrivate.h