summaryrefslogtreecommitdiff
path: root/desktop/gui_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gui_factory.h')
-rw-r--r--desktop/gui_factory.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/desktop/gui_factory.h b/desktop/gui_factory.h
index 50b5eb31e..dc94b3a16 100644
--- a/desktop/gui_factory.h
+++ b/desktop/gui_factory.h
@@ -25,8 +25,15 @@
#include "desktop/gui.h"
-extern struct gui_table *guit; /* the gui vtable */
+/** The global operation table */
+extern struct gui_table *guit;
+/** register and verify global operation table
+ *
+ * @param gt The global table to register
+ * @return NSERROR_OK on success or error code on faliure. On faliure
+ * global table will not be initialised
+ */
nserror gui_factory_register(struct gui_table *gt);
#endif