summaryrefslogtreecommitdiff
path: root/src/db/DatabasePrint.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-10-29 10:21:57 +0200
committerMax Kellermann <max@musicpd.org>2016-10-29 10:42:56 +0200
commitfac8edd47aa8f86688e8b7d7d0c6945509954d28 (patch)
treeff10541b17fac1275efd5ec822b24a270d84df48 /src/db/DatabasePrint.hxx
parent9a9da7b0773b5c4863919b84b2269cfeb605ebaa (diff)
db/Interface: migrate visitor methods from class Error to C++ exceptions
Diffstat (limited to 'src/db/DatabasePrint.hxx')
-rw-r--r--src/db/DatabasePrint.hxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/db/DatabasePrint.hxx b/src/db/DatabasePrint.hxx
index 2c85f7c06..db435000f 100644
--- a/src/db/DatabasePrint.hxx
+++ b/src/db/DatabasePrint.hxx
@@ -26,28 +26,25 @@ class SongFilter;
struct DatabaseSelection;
struct Partition;
class Response;
-class Error;
/**
* @param full print attributes/tags
* @param base print only base name of songs/directories?
*/
-bool
+void
db_selection_print(Response &r, Partition &partition,
const DatabaseSelection &selection,
- bool full, bool base, Error &error);
+ bool full, bool base);
-bool
+void
db_selection_print(Response &r, Partition &partition,
const DatabaseSelection &selection,
bool full, bool base,
- unsigned window_start, unsigned window_end,
- Error &error);
+ unsigned window_start, unsigned window_end);
-bool
+void
PrintUniqueTags(Response &r, Partition &partition,
unsigned type, tag_mask_t group_mask,
- const SongFilter *filter,
- Error &error);
+ const SongFilter *filter);
#endif