| 132 | |
| 133 | |
| 134 | string DownloadInstance::GetError() const |
| 135 | { |
| 136 | char* str = BNGetErrorForDownloadInstance(m_object); |
| 137 | string result = str; |
| 138 | BNFreeString(str); |
| 139 | return result; |
| 140 | } |
| 141 | |
| 142 | |
| 143 | int DownloadInstance::PerformRequest(const string& url, BNDownloadInstanceOutputCallbacks* callbacks) |