summaryrefslogtreecommitdiff
path: root/obt/obt.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-23 17:51:54 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:54 -0500
commitb3f0cbf76630e878c8e7cabddfcd45cf557849fe (patch)
tree5bdcd9e40e01f8c7b7bcc3b1bc1bdc68fc0ce898 /obt/obt.h
parentebce321a72331697287838b864735e7b81e60b33 (diff)
split the header up for obt
Diffstat (limited to 'obt/obt.h')
-rw-r--r--obt/obt.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/obt/obt.h b/obt/obt.h
index 7fb59d2c..0343a6a7 100644
--- a/obt/obt.h
+++ b/obt/obt.h
@@ -19,28 +19,7 @@
#ifndef __obt_h
#define __obt_h
-#include <X11/Xlib.h>
-#include <glib.h>
-
-#ifdef HAVE_STRING_H
-# include <string.h> /* for memset() */
-#endif
-
-G_BEGIN_DECLS
-
-typedef struct _ObtInstance ObtInstance;
-
-/* Instance funcs */
-ObtInstance* obt_instance_new (const char *display_name);
-void obt_instance_ref (ObtInstance *inst);
-void obt_instance_unref (ObtInstance *inst);
-
-Display* obt_display (const ObtInstance *inst);
-
-/* Util funcs */
-#define obt_free g_free
-#define obt_free0(p, type, num) memset((p), 0, sizeof(type) * (num)), g_free(p)
-
-G_END_DECLS
+#include "obt/instance.h"
+#include "obt/util.h"
#endif /*__obt_h*/