diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-23 17:51:54 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-20 01:36:54 -0500 |
| commit | b3f0cbf76630e878c8e7cabddfcd45cf557849fe (patch) | |
| tree | 5bdcd9e40e01f8c7b7bcc3b1bc1bdc68fc0ce898 /obt/obt.h | |
| parent | ebce321a72331697287838b864735e7b81e60b33 (diff) | |
split the header up for obt
Diffstat (limited to 'obt/obt.h')
| -rw-r--r-- | obt/obt.h | 25 |
1 files changed, 2 insertions, 23 deletions
@@ -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*/ |
