DataSource.h 898 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_sql_DataSource__
  3. #define __javax_sql_DataSource__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace sql
  11. {
  12. class Connection;
  13. }
  14. }
  15. namespace javax
  16. {
  17. namespace sql
  18. {
  19. class DataSource;
  20. }
  21. }
  22. }
  23. class javax::sql::DataSource : public ::java::lang::Object
  24. {
  25. public:
  26. virtual ::java::sql::Connection * getConnection() = 0;
  27. virtual ::java::sql::Connection * getConnection(::java::lang::String *, ::java::lang::String *) = 0;
  28. virtual ::java::io::PrintWriter * getLogWriter() = 0;
  29. virtual void setLogWriter(::java::io::PrintWriter *) = 0;
  30. virtual void setLoginTimeout(jint) = 0;
  31. virtual jint getLoginTimeout() = 0;
  32. static ::java::lang::Class class$;
  33. } __attribute__ ((java_interface));
  34. #endif // __javax_sql_DataSource__