summaryrefslogtreecommitdiffstats
path: root/ui/librccui.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-02 05:08:36 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-02 05:08:36 +0000
commit97e76f4c979d7a0c4ed296c512c3024e3c6afa18 (patch)
treea83fe703fa3ef3a26eed5d6c5929fdcad7429072 /ui/librccui.h
parent081011f386915bd037a3569e46ed5e4f10c490da (diff)
downloadlibrcc-97e76f4c979d7a0c4ed296c512c3024e3c6afa18.tar.gz
librcc-97e76f4c979d7a0c4ed296c512c3024e3c6afa18.tar.bz2
librcc-97e76f4c979d7a0c4ed296c512c3024e3c6afa18.tar.xz
librcc-97e76f4c979d7a0c4ed296c512c3024e3c6afa18.zip
02.07.2005
Diffstat (limited to 'ui/librccui.h')
-rw-r--r--ui/librccui.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/ui/librccui.h b/ui/librccui.h
new file mode 100644
index 0000000..6b114da
--- /dev/null
+++ b/ui/librccui.h
@@ -0,0 +1,46 @@
+#ifndef _LIBRCC_UI_H
+#define _LIBRCC_UI_H
+
+#include <librcc.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef void *rcc_ui_widget;
+typedef void *rcc_ui_box;
+typedef void *rcc_ui_frame;
+typedef void *rcc_ui_page;
+
+typedef struct rcc_ui_context_t *rcc_ui_context;
+
+rcc_ui_context rccUiCreateContext(rcc_context rccctx);
+void rccUiFreeContext(rcc_ui_context ctx);
+int rccUiSetLanguageNames(rcc_ui_context ctx, rcc_language_name *names);
+int rccUiSetOptionNames(rcc_ui_context ctx, rcc_option_name *names);
+
+int rccUiRestoreLanguage(rcc_ui_context ctx);
+int rccUiRestore(rcc_ui_context ctx);
+int rccUiUpdate(rcc_ui_context ctx);
+
+rcc_ui_widget rccUiGetLanguageMenu(rcc_ui_context ctx);
+rcc_ui_widget rccUiGetCharsetMenu(rcc_ui_context ctx, rcc_class_id id);
+rcc_ui_widget rccUiGetEngineMenu(rcc_ui_context ctx);
+rcc_ui_widget rccUiGetOptionMenu(rcc_ui_context ctx, rcc_option option);
+
+rcc_ui_box rccUiGetLanguageBox(rcc_ui_context ctx, const char *title);
+rcc_ui_box rccUiGetCharsetBox(rcc_ui_context ctx, rcc_class_id id, const char *title);
+rcc_ui_box rccUiGetEngineBox(rcc_ui_context ctx, const char *title);
+rcc_ui_box rccUiGetOptionBox(rcc_ui_context ctx, rcc_option option, const char *title);
+
+rcc_ui_frame rccUiGetLanguageFrame(rcc_ui_context ctx, const char *title);
+rcc_ui_frame rccUiGetCharsetsFrame(rcc_ui_context ctx, const char *title);
+rcc_ui_frame rccUiGetEngineFrame(rcc_ui_context ctx, const char *title);
+
+rcc_ui_page rccUiGetPage(rcc_ui_context ctx, const char *title, const char *language_title, const char *charset_title, const char *engine_title);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _LIBRCC_UI_H */