2015-12-17 10:32:01 -05:00
|
|
|
/*
|
2014-06-29 10:36:00 -04:00
|
|
|
* Copyright 2014 (c) Anna Schumaker.
|
|
|
|
*/
|
|
|
|
#ifndef OCARINA_CORE_CORE_H
|
|
|
|
#define OCARINA_CORE_CORE_H
|
2015-11-24 08:18:31 -05:00
|
|
|
#include <core/queue.h>
|
|
|
|
|
|
|
|
|
|
|
|
struct core_init_data {
|
|
|
|
struct queue_ops *collection_ops;
|
2015-11-29 19:45:39 -05:00
|
|
|
struct queue_ops *history_ops;
|
|
|
|
struct queue_ops *playlist_ops;
|
2015-11-24 09:08:20 -05:00
|
|
|
struct queue_ops *tempq_ops;
|
2015-12-15 10:23:15 -05:00
|
|
|
struct audio_ops *audio_ops;
|
2015-11-24 08:18:31 -05:00
|
|
|
};
|
|
|
|
|
2014-06-29 10:36:00 -04:00
|
|
|
|
2015-12-17 10:00:42 -05:00
|
|
|
/* Called to initialize all core Ocarina components. */
|
|
|
|
void core_init(int *, char ***, struct core_init_data *);
|
|
|
|
|
2015-12-17 10:06:40 -05:00
|
|
|
/* Called to deinitialize all core Ocarina componentns. */
|
|
|
|
void core_deinit();
|
|
|
|
|
2014-06-29 10:36:00 -04:00
|
|
|
#endif /* OCARINA_CORE_CORE_H */
|