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:
Naios authored and Aokromes committed 2016-08-10 08:59:35 +02:00
1 parent c4e7dcc04d
commit a682a01270
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@
#include "ByteBuffer.h" #include "ByteBuffer.h"
#include "Socket.h" #include "Socket.h"
#include "BigNumber.h" #include "BigNumber.h"
#include "Callback.h" #include "QueryCallback.h"
#include <memory> #include <memory>
#include <boost/asio/ip/tcp.hpp> #include <boost/asio/ip/tcp.hpp>
@@ -19,7 +19,7 @@
#define _DATABASEWORKERPOOL_H #define _DATABASEWORKERPOOL_H
#include "Common.h" #include "Common.h"
#include "Callback.h" #include "QueryCallback.h"
#include "MySQLConnection.h" #include "MySQLConnection.h"
#include "Transaction.h" #include "Transaction.h"
#include "DatabaseWorker.h" #include "DatabaseWorker.h"
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef _CALLBACK_H #ifndef _QUERY_CALLBACK_H
#define _CALLBACK_H #define _QUERY_CALLBACK_H
#include <future> #include <future>
#include "QueryResult.h" #include "QueryResult.h"
@@ -206,4 +206,4 @@ class QueryCallback_2
QueryCallback_2& operator=(QueryCallback_2 const& right) = delete; QueryCallback_2& operator=(QueryCallback_2 const& right) = delete;
}; };
#endif #endif // _QUERY_CALLBACK_H
+1 -1
View File
@@ -28,7 +28,7 @@
#include "Timer.h" #include "Timer.h"
#include "SharedDefines.h" #include "SharedDefines.h"
#include "QueryResult.h" #include "QueryResult.h"
#include "Callback.h" #include "QueryCallback.h"
#include "Realm/Realm.h" #include "Realm/Realm.h"
#include <atomic> #include <atomic>