]> git.lyx.org Git - lyx.git/blob - forms/layout_forms.h.patch
Added lyx-func tabular-feature for menu structure.
[lyx.git] / forms / layout_forms.h.patch
1 --- layout_forms.h.orig Sat Jun 10 01:48:56 2000
2 +++ layout_forms.h      Sat Jun 10 02:10:12 2000
3 @@ -3,6 +3,8 @@
4  #ifndef FD_form_document_h_
5  #define FD_form_document_h_
6  
7 +extern "C" {
8 +
9  /** Callbacks, globals and object handlers **/
10  extern void ChoiceClassCB(FL_OBJECT *, long);
11  extern void DocumentCancelCB(FL_OBJECT *, long);
12 @@ -46,6 +48,29 @@
13  extern void TableOptionsCB(FL_OBJECT *, long);
14  extern void TableSpeCloseCB(FL_OBJECT *, long);
15  
16 +}
17 +
18 +/* Additional Functions/Methods */
19 +
20 +#include "bufferparams.h"
21 +
22 +extern bool UpdateLayoutDocument(BufferParams *params = NULL);
23 +extern bool UpdateLayoutPreamble();
24 +extern bool UpdateLayoutPaper();
25 +extern bool UpdateLayoutQuotes();
26 +extern bool UpdateLayoutParagraph();
27 +extern bool UpdateParagraphExtra();
28 +extern bool UpdateLayoutTable(int);
29 +
30 +extern void MenuLayoutCharacter();
31 +extern void MenuLayoutDocument();
32 +extern void MenuLayoutPreamble();
33 +extern void MenuLayoutPaper();
34 +extern void MenuLayoutQuotes();
35 +extern void MenuLayoutParagraph();
36 +extern void MenuLayoutTable(int);
37 +
38 +extern "C" {
39  
40  /**** Forms and Objects ****/
41  typedef struct {
42 @@ -255,5 +280,7 @@
43  } FD_form_table_extra;
44  
45  extern FD_form_table_extra * create_form_form_table_extra(void);
46 +
47 +}
48  
49  #endif /* FD_form_document_h_ */