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 <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2015-01-02 10:57:37 -05:00
parent 0abc562033
commit 4e5566627c
1 changed files with 0 additions and 22 deletions

22
DESIGN
View File

@ -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;