/* */ #ifndef D_URI_RESULT_H #define D_URI_RESULT_H #include "common.h" #include #include "error_code.h" namespace aria2 { // This class stores URI and its result code as a consequence of the download. class URIResult { private: std::string uri_; error_code::Value result_; public: URIResult(const std::string& uri, error_code::Value result); ~URIResult(); const std::string& getURI() const { return uri_; } error_code::Value getResult() const { return result_; } }; } // namespace aria2 #endif // D_URI_RESULT_H