diff options
Diffstat (limited to 'src/uscxml/URL.h')
-rw-r--r-- | src/uscxml/URL.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/uscxml/URL.h b/src/uscxml/URL.h index 0e47607..61a225c 100644 --- a/src/uscxml/URL.h +++ b/src/uscxml/URL.h @@ -83,7 +83,11 @@ public: void downloadStarted(); void downloadCompleted(); - void downloadFailed(int errorCode); + void downloadFailed(CURLcode errorCode); + + bool downloadFailed() { + return _hasFailed; + } friend class URLFetcher; @@ -186,6 +190,10 @@ public: _impl->removeMonitor(monitor); } + bool downloadFailed() { + return _impl->downloadFailed(); + } + const bool isAbsolute() const { return _impl->isAbsolute(); } @@ -218,7 +226,7 @@ protected: void downloadCompleted() { return _impl->downloadCompleted(); } - void downloadFailed(int errorCode) { + void downloadFailed(CURLcode errorCode) { return _impl->downloadFailed(errorCode); } |