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