From 4e5566627c9bfebbeea4ce56fbf7186082c9c3b9 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Fri, 2 Jan 2015 10:57:37 -0500 Subject: [PATCH] callbacks: Remove info from DESIGN file The description is way out of date, so let's just remove it now. Signed-off-by: Anna Schumaker --- DESIGN | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/DESIGN b/DESIGN index 40cb80a2..64561880 100644 --- a/DESIGN +++ b/DESIGN @@ -41,25 +41,3 @@ Core Layers: * File (include/core/file.h) * Callbacks (include/core/callback.h) * Version (include/core/version.h) - - - -Callbacks: - Callbacks are used to notify a unit test or the gui that something in - the backend has changed. The callbacks structure should be initialized - with no-op default values and filled in by the user through the - get_callbacks() function. - - -- Callback functions: - struct Callbacks { - void (*on_library_add)(unsigned int, library :: Library *); - void (*on_library_update)(unsigned int, library :: Library *); - void (*on_library_track_add)(); - }; - - static struct Callbacks callbacks; - -- API: - struct Callbacks *get_callbacks(); - Return the Callbacks structure;