2006-06-03 23:52:21 +04:00
|
|
|
#ifndef _INCLUDE_SOURCEMOD_SQLITE_DRIVER_H
|
|
|
|
#define _INCLUDE_SOURCEMOD_SQLITE_DRIVER_H
|
|
|
|
|
|
|
|
#include "SqliteHeaders.h"
|
|
|
|
|
|
|
|
namespace SourceMod
|
|
|
|
{
|
|
|
|
class SqliteDriver : public ISQLDriver
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
IDatabase *Connect(DatabaseInfo *info, int *errcode, char *error, size_t maxlength);
|
2007-10-26 04:10:09 +04:00
|
|
|
IDatabase *Connect2(DatabaseInfo *info, int *errcode, char *error, size_t maxlength);
|
2006-06-03 23:52:21 +04:00
|
|
|
const char *NameString();
|
|
|
|
bool IsCompatDriver(const char *namestr);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //_INCLUDE_SOURCEMOD_SQLITE_DRIVER_H
|