summaryrefslogtreecommitdiff
path: root/otk/otk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/otk.cc')
-rw-r--r--otk/otk.cc25
1 files changed, 25 insertions, 0 deletions
diff --git a/otk/otk.cc b/otk/otk.cc
new file mode 100644
index 00000000..130e3b77
--- /dev/null
+++ b/otk/otk.cc
@@ -0,0 +1,25 @@
+#include "display.hh"
+#include "timer.hh"
+#include "renderstyle.hh"
+#include "property.hh"
+
+namespace otk {
+
+void initialize()
+{
+ new Display();
+ Timer::initialize();
+ RenderColor::initialize();
+ RenderStyle::initialize();
+ Property::initialize();
+}
+
+void destroy()
+{
+ RenderStyle::destroy();
+ RenderColor::destroy();
+ Timer::destroy();
+ delete display;
+}
+
+}