]> matita.cs.unibo.it Git - helm.git/blob - helm/DEVEL/mathml_editor/ocaml/c_mathml_editor.h
* added show/hide cursro methods
[helm.git] / helm / DEVEL / mathml_editor / ocaml / c_mathml_editor.h
1
2 #ifndef __c_mathml_editor_h__
3 #define __c_mathml_editor_h__
4
5 #include <gdome.h>
6
7 typedef struct Editor Editor;
8
9 Editor*        c_mathml_editor_new(GdomeDocument*, GdomeDocument*, GdomeDocument*, void (*)(int, const char*, void*), void*);
10 void           c_mathml_editor_destroy(Editor*);
11 int            c_mathml_editor_freeze(Editor*);
12 int            c_mathml_editor_thaw(Editor*);
13 void           c_mathml_editor_reset(Editor*);
14 void           c_mathml_editor_push(Editor*, char);
15 void           c_mathml_editor_drop(Editor*, int);
16 int            c_mathml_editor_cursor_hide(Editor*);
17 int            c_mathml_editor_cursor_show(Editor*);
18 char*          c_mathml_editor_get_tex(const Editor*);
19 GdomeDocument* c_mathml_editor_get_tml(const Editor*);
20 GdomeDocument* c_mathml_editor_get_mml(const Editor*);
21
22 #endif /* __c_mathml_editor_h__ */