acac350879
The UI should handle this directly on end-of-stream messages. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
25 lines
386 B
C++
25 lines
386 B
C++
/**
|
|
* @file
|
|
* Copyright 2014 (c) Anna Schumaker.
|
|
*/
|
|
#include <core/callback.h>
|
|
|
|
|
|
static void no_op(Queue *, unsigned int) {}
|
|
static void no_op(Queue *) {}
|
|
|
|
|
|
static struct Callbacks callbacks = {
|
|
.on_pq_removed = no_op,
|
|
|
|
.on_queue_track_add = no_op,
|
|
.on_queue_track_del = no_op,
|
|
.on_queue_track_changed = no_op,
|
|
};
|
|
|
|
|
|
struct Callbacks *get_callbacks()
|
|
{
|
|
return &callbacks;
|
|
}
|