summaryrefslogtreecommitdiff
path: root/include/kitchensink/kitchensink.h
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2016-01-04 04:33:59 +0200
committerTuomas Virtanen <katajakasa@gmail.com>2016-01-04 04:33:59 +0200
commit537ca31915603d7ed47ab4374a74058e340125c7 (patch)
treeb3c19e8dae778385021ea08be596022d952ccab5 /include/kitchensink/kitchensink.h
Initial commit; Not done yet though, needs more work.
Diffstat (limited to 'include/kitchensink/kitchensink.h')
-rw-r--r--include/kitchensink/kitchensink.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/include/kitchensink/kitchensink.h b/include/kitchensink/kitchensink.h
new file mode 100644
index 0000000..6ece77c
--- /dev/null
+++ b/include/kitchensink/kitchensink.h
@@ -0,0 +1,38 @@
+#ifndef KITCHENSINK_H
+#define KITCHENSINK_H
+
+#include <SDL2/SDL.h>
+#include "kitchensink/kiterror.h"
+#include "kitchensink/kitsource.h"
+#include "kitchensink/kitplayer.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define KIT_VERSION(x) \
+ (x)->major = KIT_VERSION_MAJOR; \
+ (x)->minor = KIT_VERSION_MINOR; \
+ (x)->patch = KIT_VERSION_PATCH
+
+typedef struct Kit_Version {
+ Uint8 major;
+ Uint8 minor;
+ Uint8 patch;
+} Kit_Version;
+
+enum {
+ KIT_INIT_FORMATS = 0x1,
+ KIT_INIT_NETWORK = 0x2,
+};
+
+int Kit_Init();
+void Kit_Quit();
+
+void Kit_GetVersion(Kit_Version *version);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // KITCHENSINK_H