00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkODBCInternals.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 00030 #ifndef __vtkODBCInternals_h 00031 #define __vtkODBCInternals_h 00032 00033 #include <sql.h> 00034 00035 class vtkODBCInternals { 00036 friend class vtkODBCDatabase; 00037 friend class vtkODBCQuery; 00038 00039 public: 00040 vtkODBCInternals() 00041 : Environment(0), Connection(0) 00042 { 00043 }; 00044 00045 private: 00046 SQLHANDLE Environment; 00047 SQLHANDLE Connection; 00048 }; 00049 00050 #endif