Core/Common: Move the query callback header to the database project

* Also renames the header to it's correct name QueryCallback

(cherry picked from commit d4d199d765)
This commit is contained in:
Naios
2016-05-10 18:16:13 +02:00
parent 9fa5906c40
commit be90932eda
4 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@
#include "SslSocket.h"
#include "Socket.h"
#include "BigNumber.h"
#include "Callback.h"
#include "QueryCallback.h"
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/ssl.hpp>
#include <google/protobuf/message.h>

View File

@@ -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"

View File

@@ -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

View File

@@ -29,7 +29,7 @@
#include "Timer.h"
#include "SharedDefines.h"
#include "QueryResult.h"
#include "Callback.h"
#include "QueryCallback.h"
#include "Realm/Realm.h"
#include <atomic>