Notify using a signal when a comic is updated using the http api

This commit is contained in:
Luis Ángel San Martín
2022-10-15 11:41:06 +02:00
parent bf36672ade
commit c576140e6a
4 changed files with 22 additions and 8 deletions

View File

@ -20,6 +20,9 @@ public:
void loadSessionV1(stefanfrings::HttpRequest &request, stefanfrings::HttpResponse &response);
void loadSessionV2(stefanfrings::HttpRequest &request, stefanfrings::HttpResponse &response);
signals:
void comicUpdated(qulonglong libraryId, qulonglong comicId);
private:
void serviceV1(stefanfrings::HttpRequest &request, stefanfrings::HttpResponse &response);
void serviceV2(stefanfrings::HttpRequest &request, stefanfrings::HttpResponse &response);