]> Dogcows Code - chaz/openbox/blobdiff - obt/obt.h
Move the main loop out into the libobt
[chaz/openbox] / obt / obt.h
index 7fb59d2c54e53b71f412d9fb8241d575b970b26a..0343a6a7a8e22d9b4ed8c2aa23e07a3ce0b1b2d2 100644 (file)
--- a/obt/obt.h
+++ b/obt/obt.h
 #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*/
This page took 0.022515 seconds and 4 git commands to generate.