aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/curl/request.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/networking/curl/request.h')
-rw-r--r--backends/networking/curl/request.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/networking/curl/request.h b/backends/networking/curl/request.h
index b9571075cb..860784f2a7 100644
--- a/backends/networking/curl/request.h
+++ b/backends/networking/curl/request.h
@@ -22,6 +22,7 @@
#ifndef BACKENDS_NETWORKING_CURL_REQUEST_H
#define BACKENDS_NETWORKING_CURL_REQUEST_H
+#include <common/callback.h>
namespace Networking {
@@ -34,7 +35,7 @@ protected:
* That's the way Requests pass the result to the code which asked to create this request.
*/
- SimpleCallback _callback;
+ Common::BaseCallback* _callback;
/**
* Pointer, which could be set by Request creating code. It might be accessed
@@ -44,7 +45,7 @@ protected:
void *_pointer;
public:
- Request(SimpleCallback cb): _callback(cb) {};
+ Request(Common::BaseCallback* cb): _callback(cb) {};
virtual ~Request() {};
/**