ocarina/core/callback.cpp
Anna Schumaker 8cc48aa799 callbacks: Remove on_pq_track_deleted()
It's been replaced with a function in the QNotifier class.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-04-03 12:29:41 -04:00

23 lines
324 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_changed = no_op,
};
struct Callbacks *get_callbacks()
{
return &callbacks;
}