/*
* Copyright (C) 2008-2018 TrinityCore
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see .
*/
#ifndef DatabaseEnvFwd_h__
#define DatabaseEnvFwd_h__
#include
#include
class Field;
class ResultSet;
typedef std::shared_ptr QueryResult;
typedef std::future QueryResultFuture;
typedef std::promise QueryResultPromise;
class PreparedStatement;
class PreparedResultSet;
typedef std::shared_ptr PreparedQueryResult;
typedef std::future PreparedQueryResultFuture;
typedef std::promise PreparedQueryResultPromise;
class QueryCallback;
class Transaction;
typedef std::shared_ptr SQLTransaction;
class SQLQueryHolder;
typedef std::future QueryResultHolderFuture;
typedef std::promise QueryResultHolderPromise;
// mysql
typedef struct st_mysql MYSQL;
typedef struct st_mysql_res MYSQL_RES;
typedef struct st_mysql_field MYSQL_FIELD;
typedef struct st_mysql_bind MYSQL_BIND;
typedef struct st_mysql_stmt MYSQL_STMT;
#endif // DatabaseEnvFwd_h__