gcc/libjava/javax/sql/DataSource.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

42 lines
898 B
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_sql_DataSource__
#define __javax_sql_DataSource__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace java
{
namespace sql
{
class Connection;
}
}
namespace javax
{
namespace sql
{
class DataSource;
}
}
}
class javax::sql::DataSource : public ::java::lang::Object
{
public:
virtual ::java::sql::Connection * getConnection() = 0;
virtual ::java::sql::Connection * getConnection(::java::lang::String *, ::java::lang::String *) = 0;
virtual ::java::io::PrintWriter * getLogWriter() = 0;
virtual void setLogWriter(::java::io::PrintWriter *) = 0;
virtual void setLoginTimeout(jint) = 0;
virtual jint getLoginTimeout() = 0;
static ::java::lang::Class class$;
} __attribute__ ((java_interface));
#endif // __javax_sql_DataSource__