Contents of release-21-2 in 1999-06-17-23.
[chise/xemacs-chise.git.1] / src / menubar.h
1 /* Define generic menubar support.
2    Copyright (C) 1995 Board of Trustees, University of Illinois.
3
4 This file is part of XEmacs.
5
6 XEmacs is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
9 later version.
10
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with XEmacs; see the file COPYING.  If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* Synched up with: Not in FSF. */
22
23 /* #### Not properly abstracted for device-independence. */
24
25 #ifndef _XEMACS_MENUBAR_H_
26 #define _XEMACS_MENUBAR_H_
27
28 #ifdef HAVE_MENUBARS
29 #include "gui.h"
30 void update_frame_menubars (struct frame *f);
31 void free_frame_menubars (struct frame *f);
32 Lisp_Object menu_parse_submenu_keywords (Lisp_Object desc,
33                                          Lisp_Object gui_item);
34 Lisp_Object current_frame_menubar (CONST struct frame* f);
35
36 EXFUN (Fmenu_find_real_submenu, 2);
37
38 #endif /* HAVE_MENUBARS */
39
40 #endif /* _XEMACS_MENUBAR_H_ */