diff options
Diffstat (limited to 'methods/aptmethod.h')
-rw-r--r-- | methods/aptmethod.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/methods/aptmethod.h b/methods/aptmethod.h index 7f7f31dba..f8a68c92b 100644 --- a/methods/aptmethod.h +++ b/methods/aptmethod.h @@ -34,6 +34,14 @@ public: return true; } + void Warning(const char *Format,...) + { + va_list args; + va_start(args,Format); + PrintStatus("104 Warning", Format, args); + va_end(args); + } + aptMethod(char const * const Binary, char const * const Ver, unsigned long const Flags) : pkgAcqMethod(Ver, Flags), Binary(Binary) {} |