mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Common: Move the query callback header to the database project
* Also renames the header to it's correct name QueryCallback
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "ByteBuffer.h"
|
||||
#include "Socket.h"
|
||||
#include "BigNumber.h"
|
||||
#include "Callback.h"
|
||||
#include "QueryCallback.h"
|
||||
#include <memory>
|
||||
#include <boost/asio/ip/tcp.hpp>
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#define _DATABASEWORKERPOOL_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "Callback.h"
|
||||
#include "QueryCallback.h"
|
||||
#include "MySQLConnection.h"
|
||||
#include "Transaction.h"
|
||||
#include "DatabaseWorker.h"
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _CALLBACK_H
|
||||
#define _CALLBACK_H
|
||||
#ifndef _QUERY_CALLBACK_H
|
||||
#define _QUERY_CALLBACK_H
|
||||
|
||||
#include <future>
|
||||
#include "QueryResult.h"
|
||||
@@ -206,4 +206,4 @@ class QueryCallback_2
|
||||
QueryCallback_2& operator=(QueryCallback_2 const& right) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _QUERY_CALLBACK_H
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "Timer.h"
|
||||
#include "SharedDefines.h"
|
||||
#include "QueryResult.h"
|
||||
#include "Callback.h"
|
||||
#include "QueryCallback.h"
|
||||
#include "Realm/Realm.h"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
Reference in New Issue
Block a user