/** * @file * Copyright 2014 (c) Anna Schumaker. */ #ifndef OCARINA_CORE_CALLBACK_H #define OCARINA_CORE_CALLBACK_H #include #include /** * A structure for managing callback function pointers */ struct Callbacks { /* Deck callbacks */ /** * Called when a queue is removed. * * @param queue The queue that is being removed. */ void (*on_pq_removed)(Queue *); }; /** * Called to access the callbacks structure. * * @return The current struct Callbacks for this application. */ struct Callbacks *get_callbacks(); #endif /* OCARINA_CORE_CALLBACK_H */