diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-05-07 15:49:51 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-05-07 15:49:51 +0200 |
commit | ebfeeaedf5bc357170cae971c0f6a1458ff65f65 (patch) | |
tree | 1d3fe0af5e10c237361affc3594c2e59de27c5fe /apt-pkg/edsp.h | |
parent | 3d17b9ffc7c5a417d69916c282f4756cc7e938d2 (diff) |
implement correct error reporting
Diffstat (limited to 'apt-pkg/edsp.h')
-rw-r--r-- | apt-pkg/edsp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apt-pkg/edsp.h b/apt-pkg/edsp.h index 98a70d7f6..210188d03 100644 --- a/apt-pkg/edsp.h +++ b/apt-pkg/edsp.h @@ -171,8 +171,13 @@ public: * * The first line of the message should be a short description * of the error so it can be used for dialog titles or alike + * + * \param uuid of this error message + * \param message is free form text to discribe the error + * \param output the front-end listens for error messages */ - bool static WriteError(std::string const &message, FILE* output); + bool static WriteError(char const * const uuid, std::string const &message, FILE* output); + /** \brief executes the given solver and returns the pipe ends * |