diff options
Diffstat (limited to 'src/protocols/httpserver.h')
| -rw-r--r-- | src/protocols/httpserver.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/protocols/httpserver.h b/src/protocols/httpserver.h index e3ca66f..320ce00 100644 --- a/src/protocols/httpserver.h +++ b/src/protocols/httpserver.h @@ -9,7 +9,7 @@ // orpheus #include "iprotocol.h" -class ICamera; +class IScanner; class QHttpServer; class HttpServer : public IProtocol @@ -25,7 +25,7 @@ public: static constexpr uint16_t DefaultPort{8080}; public: - explicit HttpServer(std::shared_ptr<ICamera> camera, + explicit HttpServer(std::shared_ptr<IScanner> scanner, const QHostAddress &address = DefaultAddress, const uint16_t port = DefaultPort); ~HttpServer() override = default; @@ -45,6 +45,7 @@ public: */ QFuture<QHttpServerResponse> GET_image_async(); QHttpServerResponse GET_pixels(); + QHttpServerResponse GET_profile(); QHttpServerResponse POST_params(const QHttpServerRequest &request); QHttpServerResponse GET_params(); |
