2014-09-12 16:08:58 -04: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-24 09:08:20 -05:00
|
|
|
struct queue_ops *tempq_ops;
|
2015-11-24 08:18:31 -05:00
|
|
|
};
|
|
|
|
|
2014-09-12 16:08:58 -04:00
|
|
|
/**
|
|
|
|
* Namespace for basic core library functions.
|
|
|
|
*/
|
2014-06-29 10:36:00 -04:00
|
|
|
namespace core
|
|
|
|
{
|
|
|
|
|
2014-09-12 16:08:58 -04:00
|
|
|
/**
|
|
|
|
* Initializes all components of the core library, including reading
|
|
|
|
* databases from disk and setting up gstreamer.
|
|
|
|
*/
|
2015-11-24 08:18:31 -05:00
|
|
|
void init(struct core_init_data *);
|
2015-11-12 10:45:30 -05:00
|
|
|
void deinit();
|
2014-06-29 10:36:00 -04:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* OCARINA_CORE_CORE_H */
|