]> matita.cs.unibo.it Git - helm.git/blob - helm/gtkmathview-bonobo/src/aux.h
ocaml 3.09 transition
[helm.git] / helm / gtkmathview-bonobo / src / aux.h
1 /* This file is part of GtkMathView-Bonobo, a Bonobo wrapper for GtkMathView.
2  * Copyright (C) 2003 Luca Padovani <lpadovan@cs.unibo.it>
3  *                    Pouria Masoudi <pmasoudi@cs.unibo.it>
4  * 
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  * 
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  * 
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  *
19  * For more information, please visit the project's home page
20  * http://helm.cs.unibo.it/gtkmathview-bonobo
21  * or send an email to <lpadovan@cs.unibo.it>
22  */
23
24 #ifndef __aux_h__
25 #define __aux_h__
26
27 #include <gdome.h>
28
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32
33   void action_toggle(GdomeElement*);
34   GdomeElement* find_common_ancestor(GdomeElement*, GdomeElement*);
35   GdomeElement* find_self_or_ancestor(GdomeElement*, const gchar*, const gchar*);
36   GdomeElement* find_element_with_id(GdomeElement*, GdomeDOMString*, GdomeDOMString*);
37   GdomeDOMString* find_hyperlink(GdomeElement*);
38   GdomeElement* find_element_by_id(GdomeElement*, GdomeDOMString*, GdomeDOMString*,
39                                    const gchar*);
40
41 #ifdef __cplusplus
42 }
43 #endif
44
45 #endif // __aux_h__
46