summaryrefslogtreecommitdiff
path: root/ui/ui-window.h
diff options
context:
space:
mode:
authorBradley Smith2008-05-16 21:19:51 +0100
committerBradley Smith2008-05-16 21:19:51 +0100
commitfbc949b73cef0ffe713fc25eb74d270404ac60d4 (patch)
tree26edc1aa852799222b66f2f389d4076bd86f8280 /ui/ui-window.h
parentAdd temporary uitest build. (diff)
downloadgnurobots-fbc949b73cef0ffe713fc25eb74d270404ac60d4.tar.gz
Add initial empty window, remove commited binary.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
Diffstat (limited to 'ui/ui-window.h')
-rw-r--r--ui/ui-window.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/ui/ui-window.h b/ui/ui-window.h
new file mode 100644
index 0000000..008929c
--- /dev/null
+++ b/ui/ui-window.h
@@ -0,0 +1,42 @@
+/* Copyright */
+
+#ifndef __UI_WINDOW_H__
+#define __UI_WINDOW_H__
+
+#include <gtk/gtkwindow.h>
+
+G_BEGIN_DECLS
+
+#define UI_TYPE_WINDOW \
+ ui_window_get_type()
+#define UI_WINDOW(obj) \
+ G_TYPE_CHECK_INSTANCE_CAST(obj, UI_TYPE_WINDOW, UIWindow)
+#define UI_WINDOW_CLASS(klass) \
+ G_TYPE_CHECK_CLASS_CAST(klass, UI_WINDOW_TYPE, UIWindowClass)
+#define IS_UI_WINDOW(obj) \
+ G_TYPE_CHECK_INSTANCE_TYPE(obj, UI_TYPE_WINDOW)
+#define IS_UI_WINDOW_CLASS(klass) \
+ G_TYPE_CHECK_CLASS_TYPE(klass, UI_TYPE_WINDOW)
+
+typedef struct _UIWindow UIWindow;
+typedef struct _UIWindowClass UIWindowClass;
+typedef struct _UIWindowPrivate UIWindowPrivate;
+
+struct _UIWindow
+{
+ GtkWindow widget;
+ UIWindowPrivate* priv;
+};
+
+struct _UIWindowClass
+{
+ GtkWindowClass parent_class;
+};
+
+GType ui_window_get_type(void) G_GNUC_CONST;
+
+GtkWidget *ui_window_new(void);
+
+G_END_DECLS
+
+#endif /* __UI_WINDOW_H__ */