]> ncurses.scripts.mit.edu Git - ncurses.git/blob - menu/llib-lmenu
ncurses 4.2
[ncurses.git] / menu / llib-lmenu
1 /****************************************************************************
2  * Copyright (c) 1998 Free Software Foundation, Inc.                        *
3  *                                                                          *
4  * Permission is hereby granted, free of charge, to any person obtaining a  *
5  * copy of this software and associated documentation files (the            *
6  * "Software"), to deal in the Software without restriction, including      *
7  * without limitation the rights to use, copy, modify, merge, publish,      *
8  * distribute, distribute with modifications, sublicense, and/or sell       *
9  * copies of the Software, and to permit persons to whom the Software is    *
10  * furnished to do so, subject to the following conditions:                 *
11  *                                                                          *
12  * The above copyright notice and this permission notice shall be included  *
13  * in all copies or substantial portions of the Software.                   *
14  *                                                                          *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
16  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
17  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
18  * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
19  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
20  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
21  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
22  *                                                                          *
23  * Except as contained in this notice, the name(s) of the above copyright   *
24  * holders shall not be used in advertising or otherwise to promote the     *
25  * sale, use or other dealings in this Software without prior written       *
26  * authorization.                                                           *
27  ****************************************************************************/
28
29 /****************************************************************************
30  *  Author: Thomas E. Dickey <dickey@clark.net> 1996,1997                   *
31  ****************************************************************************/
32 /* LINTLIBRARY */
33
34 /* ./m_adabind.c */
35
36 #include "menu.priv.h"
37
38 #undef _nc_ada_normalize_menu_opts
39 void    _nc_ada_normalize_menu_opts(
40                 int     *opt)
41                 { /* void */ }
42
43 #undef _nc_ada_normalize_item_opts
44 void    _nc_ada_normalize_item_opts(
45                 int     *opt)
46                 { /* void */ }
47
48 #undef _nc_get_item
49 ITEM    *_nc_get_item(
50                 const MENU *menu, 
51                 int     idx)
52                 { return(*(ITEM **)0); }
53
54 /* ./m_attribs.c */
55
56 #undef set_menu_fore
57 int     set_menu_fore(
58                 MENU    *menu, 
59                 chtype  attr)
60                 { return(*(int *)0); }
61
62 #undef menu_fore
63 chtype  menu_fore(
64                 const MENU *menu)
65                 { return(*(chtype *)0); }
66
67 #undef set_menu_back
68 int     set_menu_back(
69                 MENU    *menu, 
70                 chtype  attr)
71                 { return(*(int *)0); }
72
73 #undef menu_back
74 chtype  menu_back(
75                 const MENU *menu)
76                 { return(*(chtype *)0); }
77
78 #undef set_menu_grey
79 int     set_menu_grey(
80                 MENU    *menu, 
81                 chtype  attr)
82                 { return(*(int *)0); }
83
84 #undef menu_grey
85 chtype  menu_grey(
86                 const MENU *menu)
87                 { return(*(chtype *)0); }
88
89 /* ./m_cursor.c */
90
91 #undef pos_menu_cursor
92 int     pos_menu_cursor(
93                 const MENU *menu)
94                 { return(*(int *)0); }
95
96 /* ./m_driver.c */
97
98 #undef _nc_Match_Next_Character_In_Item_Name
99 int     _nc_Match_Next_Character_In_Item_Name(
100                 MENU    *menu, 
101                 int     ch, 
102                 ITEM    **item)
103                 { return(*(int *)0); }
104
105 #undef menu_driver
106 int     menu_driver(
107                 MENU    *menu, 
108                 int     c)
109                 { return(*(int *)0); }
110
111 /* ./m_format.c */
112
113 #undef set_menu_format
114 int     set_menu_format(
115                 MENU    *menu, 
116                 int     rows, 
117                 int     cols)
118                 { return(*(int *)0); }
119
120 #undef menu_format
121 void    menu_format(
122                 const MENU *menu, 
123                 int     *rows, 
124                 int     *cols)
125                 { /* void */ }
126
127 /* ./m_global.c */
128
129 #undef _nc_Default_Menu
130 MENU    _nc_Default_Menu;
131 #undef _nc_Default_Item
132 ITEM    _nc_Default_Item;
133
134 #undef _nc_Connect_Items
135 bool    _nc_Connect_Items(
136                 MENU    *menu, 
137                 ITEM    **items)
138                 { return(*(bool *)0); }
139
140 #undef _nc_Disconnect_Items
141 void    _nc_Disconnect_Items(
142                 MENU    *menu)
143                 { /* void */ }
144
145 #undef _nc_Calculate_Item_Length_and_Width
146 void    _nc_Calculate_Item_Length_and_Width(
147                 MENU    *menu)
148                 { /* void */ }
149
150 #undef _nc_Link_Items
151 void    _nc_Link_Items(
152                 MENU    *menu)
153                 { /* void */ }
154
155 #undef _nc_Show_Menu
156 void    _nc_Show_Menu(
157                 const MENU *menu)
158                 { /* void */ }
159
160 #undef _nc_New_TopRow_and_CurrentItem
161 void    _nc_New_TopRow_and_CurrentItem(
162                 MENU    *menu, 
163                 int     new_toprow, 
164                 ITEM    *new_current_item)
165                 { /* void */ }
166
167 /* ./m_hook.c */
168
169 #undef set_menu_init
170 int     set_menu_init(
171                 MENU    *menu, 
172                 Menu_Hook func)
173                 { return(*(int *)0); }
174
175 #undef menu_init
176 Menu_Hook menu_init(
177                 const MENU *menu)
178                 { return(*(Menu_Hook *)0); }
179
180 #undef set_menu_term
181 int     set_menu_term(
182                 MENU    *menu, 
183                 Menu_Hook func)
184                 { return(*(int *)0); }
185
186 #undef menu_term
187 Menu_Hook menu_term(
188                 const MENU *menu)
189                 { return(*(Menu_Hook *)0); }
190
191 #undef set_item_init
192 int     set_item_init(
193                 MENU    *menu, 
194                 Menu_Hook func)
195                 { return(*(int *)0); }
196
197 #undef item_init
198 Menu_Hook item_init(
199                 const MENU *menu)
200                 { return(*(Menu_Hook *)0); }
201
202 #undef set_item_term
203 int     set_item_term(
204                 MENU    *menu, 
205                 Menu_Hook func)
206                 { return(*(int *)0); }
207
208 #undef item_term
209 Menu_Hook item_term(
210                 const MENU *menu)
211                 { return(*(Menu_Hook *)0); }
212
213 /* ./m_item_cur.c */
214
215 #undef set_current_item
216 int     set_current_item(
217                 MENU    *menu, 
218                 ITEM    *item)
219                 { return(*(int *)0); }
220
221 #undef current_item
222 ITEM    *current_item(
223                 const MENU *menu)
224                 { return(*(ITEM **)0); }
225
226 #undef item_index
227 int     item_index(
228                 const ITEM *item)
229                 { return(*(int *)0); }
230
231 /* ./m_item_nam.c */
232
233 #undef item_name
234 const char *item_name(
235                 const ITEM *item)
236                 { return(*(const char **)0); }
237
238 #undef item_description
239 const char *item_description(
240                 const ITEM *item)
241                 { return(*(const char **)0); }
242
243 /* ./m_item_new.c */
244
245 #undef new_item
246 ITEM    *new_item(
247                 const char *name, 
248                 const char *description)
249                 { return(*(ITEM **)0); }
250
251 #undef free_item
252 int     free_item(
253                 ITEM    *item)
254                 { return(*(int *)0); }
255
256 #undef set_menu_mark
257 int     set_menu_mark(
258                 MENU    *menu, 
259                 const char *mark)
260                 { return(*(int *)0); }
261
262 #undef menu_mark
263 const char *menu_mark(
264                 const MENU *menu)
265                 { return(*(const char **)0); }
266
267 /* ./m_item_opt.c */
268
269 #undef set_item_opts
270 int     set_item_opts(
271                 ITEM    *item, 
272                 Item_Options opts)
273                 { return(*(int *)0); }
274
275 #undef item_opts_off
276 int     item_opts_off(
277                 ITEM    *item, 
278                 Item_Options opts)
279                 { return(*(int *)0); }
280
281 #undef item_opts_on
282 int     item_opts_on(
283                 ITEM    *item, 
284                 Item_Options opts)
285                 { return(*(int *)0); }
286
287 #undef item_opts
288 Item_Options item_opts(
289                 const ITEM *item)
290                 { return(*(Item_Options *)0); }
291
292 /* ./m_item_top.c */
293
294 #undef set_top_row
295 int     set_top_row(
296                 MENU    *menu, 
297                 int     row)
298                 { return(*(int *)0); }
299
300 #undef top_row
301 int     top_row(
302                 const MENU *menu)
303                 { return(*(int *)0); }
304
305 /* ./m_item_use.c */
306
307 #undef set_item_userptr
308 int     set_item_userptr(
309                 ITEM    *item, 
310                 void    *userptr)
311                 { return(*(int *)0); }
312
313 #undef item_userptr
314 void    *item_userptr(
315                 const ITEM *item)
316                 { return(*(void **)0); }
317
318 /* ./m_item_val.c */
319
320 #undef set_item_value
321 int     set_item_value(
322                 ITEM    *item, 
323                 bool    value)
324                 { return(*(int *)0); }
325
326 #undef item_value
327 bool    item_value(
328                 const ITEM *item)
329                 { return(*(bool *)0); }
330
331 /* ./m_item_vis.c */
332
333 #undef item_visible
334 bool    item_visible(
335                 const ITEM *item)
336                 { return(*(bool *)0); }
337
338 /* ./m_items.c */
339
340 #undef set_menu_items
341 int     set_menu_items(
342                 MENU    *menu, 
343                 ITEM    **items)
344                 { return(*(int *)0); }
345
346 #undef menu_items
347 ITEM    **menu_items(
348                 const MENU *menu)
349                 { return(*(ITEM ***)0); }
350
351 #undef item_count
352 int     item_count(
353                 const MENU *menu)
354                 { return(*(int *)0); }
355
356 /* ./m_new.c */
357
358 #undef new_menu
359 MENU    *new_menu(
360                 ITEM    **items)
361                 { return(*(MENU **)0); }
362
363 #undef free_menu
364 int     free_menu(
365                 MENU    *menu)
366                 { return(*(int *)0); }
367
368 /* ./m_opts.c */
369
370 #undef set_menu_opts
371 int     set_menu_opts(
372                 MENU    *menu, 
373                 Menu_Options opts)
374                 { return(*(int *)0); }
375
376 #undef menu_opts_off
377 int     menu_opts_off(
378                 MENU    *menu, 
379                 Menu_Options opts)
380                 { return(*(int *)0); }
381
382 #undef menu_opts_on
383 int     menu_opts_on(
384                 MENU    *menu, 
385                 Menu_Options opts)
386                 { return(*(int *)0); }
387
388 #undef menu_opts
389 Menu_Options menu_opts(
390                 const MENU *menu)
391                 { return(*(Menu_Options *)0); }
392
393 /* ./m_pad.c */
394
395 #undef set_menu_pad
396 int     set_menu_pad(
397                 MENU    *menu, 
398                 int     pad)
399                 { return(*(int *)0); }
400
401 #undef menu_pad
402 int     menu_pad(
403                 const MENU *menu)
404                 { return(*(int *)0); }
405
406 /* ./m_pattern.c */
407
408 #undef menu_pattern
409 char    *menu_pattern(
410                 const MENU *menu)
411                 { return(*(char **)0); }
412
413 #undef set_menu_pattern
414 int     set_menu_pattern(
415                 MENU    *menu, 
416                 const char *p)
417                 { return(*(int *)0); }
418
419 /* ./m_post.c */
420
421 #undef _nc_Post_Item
422 void    _nc_Post_Item(
423                 const MENU *menu, 
424                 const ITEM *item)
425                 { /* void */ }
426
427 #undef _nc_Draw_Menu
428 void    _nc_Draw_Menu(
429                 const MENU *menu)
430                 { /* void */ }
431
432 #undef post_menu
433 int     post_menu(
434                 MENU    *menu)
435                 { return(*(int *)0); }
436
437 #undef unpost_menu
438 int     unpost_menu(
439                 MENU    *menu)
440                 { return(*(int *)0); }
441
442 /* ./m_req_name.c */
443
444 #undef menu_request_name
445 const char *menu_request_name(
446                 int     request)
447                 { return(*(const char **)0); }
448
449 #undef menu_request_by_name
450 int     menu_request_by_name(
451                 const char *str)
452                 { return(*(int *)0); }
453
454 /* ./m_scale.c */
455
456 #undef scale_menu
457 int     scale_menu(
458                 const MENU *menu, 
459                 int     *rows, 
460                 int     *cols)
461                 { return(*(int *)0); }
462
463 /* ./m_spacing.c */
464
465 #undef set_menu_spacing
466 int     set_menu_spacing(
467                 MENU    *menu, 
468                 int     s_desc, 
469                 int     s_row, 
470                 int     s_col)
471                 { return(*(int *)0); }
472
473 #undef menu_spacing
474 int     menu_spacing(
475                 const MENU *menu, 
476                 int     *s_desc, 
477                 int     *s_row, 
478                 int     *s_col)
479                 { return(*(int *)0); }
480
481 /* ./m_sub.c */
482
483 #undef set_menu_sub
484 int     set_menu_sub(
485                 MENU    *menu, 
486                 WINDOW  *win)
487                 { return(*(int *)0); }
488
489 #undef menu_sub
490 WINDOW  *menu_sub(
491                 const MENU *menu)
492                 { return(*(WINDOW **)0); }
493
494 /* ./m_userptr.c */
495
496 #undef set_menu_userptr
497 int     set_menu_userptr(
498                 MENU    *menu, 
499                 void    *userptr)
500                 { return(*(int *)0); }
501
502 #undef menu_userptr
503 void    *menu_userptr(
504                 const MENU *menu)
505                 { return(*(void **)0); }
506
507 /* ./m_win.c */
508
509 #undef set_menu_win
510 int     set_menu_win(
511                 MENU    *menu, 
512                 WINDOW  *win)
513                 { return(*(int *)0); }
514
515 #undef menu_win
516 WINDOW  *menu_win(
517                 const MENU *menu)
518                 { return(*(WINDOW **)0); }