From: Alexis Laferrière Date: Sun, 7 Jun 2015 00:24:16 +0000 (-0400) Subject: lib/curl: remove the CurlCallbaksRegisterIntern class X-Git-Tag: v0.7.6~52^2~23 X-Git-Url: http://nitlanguage.org lib/curl: remove the CurlCallbaksRegisterIntern class Signed-off-by: Alexis Laferrière --- diff --git a/lib/curl/curl.nit b/lib/curl/curl.nit index 69291f5..c55f813 100644 --- a/lib/curl/curl.nit +++ b/lib/curl/curl.nit @@ -72,12 +72,12 @@ end # CURL HTTP Request class CurlHTTPRequest super CurlRequest - super CurlCallbacksRegisterIntern super NativeCurlCallbacks var url: String var datas: nullable HeaderMap = null is writable var headers: nullable HeaderMap = null is writable + var delegate: nullable CurlCallbacks = null is writable # Set the user agent for all following HTTP requests fun user_agent=(name: String) @@ -332,11 +332,6 @@ end # Callbacks Interface, allow you to manage in your way the different streams interface CurlCallbacks -end - -# Callbacks attributes -abstract class CurlCallbacksRegisterIntern - var delegate: nullable CurlCallbacks = null is writable super NativeCurlCallbacks end