X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6f27a7fc6c8471534c5cee39cffdc2def1388bdc..f17ac0977167d1e58316d3b3f7159f65d40a090a:/apt-pkg/contrib/error.h diff --git a/apt-pkg/contrib/error.h b/apt-pkg/contrib/error.h index 7250bb1c0..bb42e73ba 100644 --- a/apt-pkg/contrib/error.h +++ b/apt-pkg/contrib/error.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: error.h,v 1.4 1998/09/12 02:46:27 jgg Exp $ +// $Id: error.h,v 1.6 1999/01/18 06:20:08 jgg Exp $ /* ###################################################################### Global Erorr Class - Global error mechanism @@ -37,7 +37,6 @@ ##################################################################### */ /*}}}*/ -// Header section: pkglib #ifndef PKGLIB_ERROR_H #define PKGLIB_ERROR_H @@ -64,6 +63,7 @@ class GlobalError // Call to generate an error from a library call. bool Errno(const char *Function,const char *Description,...); + bool WarningE(const char *Function,const char *Description,...); /* A warning should be considered less severe than an error, and may be ignored by the client. */