X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5cb5d8dc4318227ca3ec8976f67e8cfd2302d1ff..bebdca4bf63ae661c60bc1e0f4e03e6bbb7a7cc5:/apt-pkg/acquire-method.h?ds=inline diff --git a/apt-pkg/acquire-method.h b/apt-pkg/acquire-method.h index cefb60468..6aabcb91d 100644 --- a/apt-pkg/acquire-method.h +++ b/apt-pkg/acquire-method.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire-method.h,v 1.7 1998/12/05 04:19:02 jgg Exp $ +// $Id: acquire-method.h,v 1.10 1999/01/27 02:48:52 jgg Exp $ /* ###################################################################### Acquire Method - Method helper class + functions @@ -14,7 +14,7 @@ #define PKGLIB_ACQUIRE_METHOD_H #include -#include +#include #ifdef __GNUG__ #pragma interface "apt-pkg/acquire-method.h" @@ -56,6 +56,7 @@ class pkgAcqMethod // Outgoing messages void Fail(bool Transient = false); + inline void Fail(const char *Why, bool Transient = false) {Fail(string(Why),Transient);}; void Fail(string Why, bool Transient = false); void URIStart(FetchResult &Res); void URIDone(FetchResult &Res,FetchResult *Alt = 0);