1 /*
2  * This file is part of XForms.
3  *
4  *  XForms is free software; you can redistribute it and/or modify it
5  *  under the terms of the GNU Lesser General Public License as
6  *  published by the Free Software Foundation; either version 2.1, or
7  *  (at your option) any later version.
8  *
9  *  XForms is distributed in the hope that it will be useful, but
10  *  WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  *  Lesser General Public License for more details.
13  *
14  *  You should have received a copy of the GNU Lesser General Public License
15  *  along with XForms.  If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 
19 #ifndef SP_MENU_H_
20 #define SP_MENU_H_
21 
22 void menu_change_type( FL_OBJECT * obj,
23  						 int         new_type );
24 FL_FORM * menu_create_spec_form( void );
25 void menu_fill_in_spec_form( FL_OBJECT * obj );
26 void menu_emit_spec_fd_code( FILE      * fp,
27  							FL_OBJECT * obj );
28 void menu_emit_spec_c_code( FILE      * fp,
29  						   FL_OBJECT * obj );
30 void menu_emit_spec_header( FILE      * fp,
31  						   FL_OBJECT * obj );
32 void menu_emit_spec_global_header( FILE      * fp,
33  								  FL_OBJECT * obj );
34 void menu_emit_item_callback_headers( FILE      * fn,
35                                       FL_OBJECT * obj,
36                                       int         code );
37 
38 #endif
39 
40 
41 /*
42  * Local variables:
43  * tab-width: 4
44  * indent-tabs-mode: nil
45  * End:
46  */
47