#include <hk_drivermanager.h>
Inheritance diagram for hk_drivermanager:
Public Member Functions | |
hk_drivermanager (void) | |
hk_drivermanager (bool runtime) | |
virtual | ~hk_drivermanager (void) |
hk_connection * | new_connection (const hk_string &drivername="", enum_interaction i=interactive) |
hk_connection * | find_existing_connection (const hk_string &drivername, const hk_string &host, unsigned int tcp_port, const hk_string &user) |
hk_database * | open_connectionfile (const hk_url &connectionfile) |
Static Public Member Functions | |
static vector< hk_string > * | driverlist (void) |
static void | set_path (const hk_string &path) |
static hk_string | path (void) |
static void | set_driverselectdialog (requestdialogtype *dialog) |
static hk_string | show_driverselectdialog (void) |
Friends | |
class | hk_connection |
|
|
|
|
|
|
|
|
|
If an already created connection exists, it will be returned otherwise NULL |
|
with this method you can create a new connection to a database. If no driver is set a dialog appears which asks for the driver. You can set a GUI dependend driverdialog with set_driverselectdialog.
|
|
|
|
|
|
you can write your own GUI dependend function to show a driver select dialog by defining a function of requestdialogtype |
|
Path to the directory where the database drivers are stored.(default: /usr/lib/hk_classes/drivers) |
|
|
|
|