Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
completionhandlers.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QNetworkReply>
4 
5 namespace geometrize
6 {
7 
8 namespace network
9 {
10 class Downloader;
11 }
12 
13 }
14 
15 namespace geometrize
16 {
17 
18 namespace network
19 {
20 
21 namespace completionhandlers
22 {
23 
29 void onImageDownloadComplete(network::Downloader* self, QNetworkReply::NetworkError error);
30 
36 void onWebpageDownloadComplete(network::Downloader* self, QNetworkReply::NetworkError error);
37 
38 }
39 
40 }
41 
42 }
void onImageDownloadComplete(network::Downloader *self, const QNetworkReply::NetworkError error)
onImageDownloadComplete A callback when an image download completes.
Definition: completionhandlers.cpp:24
void onWebpageDownloadComplete(network::Downloader *self, const QNetworkReply::NetworkError error)
onWebpageDownloadComplete A callback when a webpage download completes.
Definition: completionhandlers.cpp:51