llib-lmenu revision 50276
1193323Sed/**************************************************************************** 2193323Sed * Copyright (c) 1999 Free Software Foundation, Inc. * 3193323Sed * * 4193323Sed * Permission is hereby granted, free of charge, to any person obtaining a * 5193323Sed * copy of this software and associated documentation files (the * 6193323Sed * "Software"), to deal in the Software without restriction, including * 7193323Sed * without limitation the rights to use, copy, modify, merge, publish, * 8193323Sed * distribute, distribute with modifications, sublicense, and/or sell * 9193323Sed * copies of the Software, and to permit persons to whom the Software is * 10193323Sed * furnished to do so, subject to the following conditions: * 11193323Sed * * 12193323Sed * The above copyright notice and this permission notice shall be included * 13193323Sed * in all copies or substantial portions of the Software. * 14249423Sdim * * 15249423Sdim * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * 16193323Sed * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 17193323Sed * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * 18193323Sed * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * 19193323Sed * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * 20249423Sdim * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * 21249423Sdim * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 22249423Sdim * * 23249423Sdim * Except as contained in this notice, the name(s) of the above copyright * 24249423Sdim * holders shall not be used in advertising or otherwise to promote the * 25193323Sed * sale, use or other dealings in this Software without prior written * 26193323Sed * authorization. * 27193323Sed ****************************************************************************/ 28193323Sed 29193323Sed/**************************************************************************** 30193323Sed * Author: Thomas E. Dickey <dickey@clark.net> 1996,1997,1999 * 31193323Sed ****************************************************************************/ 32243830Sdim/* LINTLIBRARY */ 33193323Sed 34193323Sed/* ./m_attribs.c */ 35199989Srdivacky 36200581Srdivacky#include "menu.priv.h" 37249423Sdim 38193323Sed#undef set_menu_fore 39193323Sedint set_menu_fore( 40193323Sed MENU *menu, 41193323Sed chtype attr) 42193323Sed { return(*(int *)0); } 43193323Sed 44249423Sdim#undef menu_fore 45193323Sedchtype menu_fore( 46193323Sed const MENU *menu) 47193323Sed { return(*(chtype *)0); } 48193323Sed 49193323Sed#undef set_menu_back 50218893Sdimint set_menu_back( 51221345Sdim MENU *menu, 52221345Sdim chtype attr) 53221345Sdim { return(*(int *)0); } 54221345Sdim 55193323Sed#undef menu_back 56193323Sedchtype menu_back( 57193323Sed const MENU *menu) 58193323Sed { return(*(chtype *)0); } 59193323Sed 60193323Sed#undef set_menu_grey 61193323Sedint set_menu_grey( 62193323Sed MENU *menu, 63193323Sed chtype attr) 64193323Sed { return(*(int *)0); } 65193323Sed 66193323Sed#undef menu_grey 67193323Sedchtype menu_grey( 68193323Sed const MENU *menu) 69193323Sed { return(*(chtype *)0); } 70193323Sed 71200581Srdivacky/* ./m_cursor.c */ 72200581Srdivacky 73200581Srdivacky#undef _nc_menu_cursor_pos 74193323Sedint _nc_menu_cursor_pos( 75249423Sdim const MENU *menu, 76226633Sdim const ITEM *item, 77226633Sdim int *pY, 78226633Sdim int *pX) 79226633Sdim { return(*(int *)0); } 80226633Sdim 81226633Sdim#undef pos_menu_cursor 82226633Sdimint pos_menu_cursor( 83226633Sdim const MENU *menu) 84226633Sdim { return(*(int *)0); } 85193323Sed 86193323Sed/* ./m_driver.c */ 87193323Sed 88226633Sdim#undef _nc_Match_Next_Character_In_Item_Name 89226633Sdimint _nc_Match_Next_Character_In_Item_Name( 90226633Sdim MENU *menu, 91226633Sdim int ch, 92226633Sdim ITEM **item) 93226633Sdim { return(*(int *)0); } 94226633Sdim 95193323Sed#undef menu_driver 96226633Sdimint menu_driver( 97193323Sed MENU *menu, 98193323Sed int c) 99193323Sed { return(*(int *)0); } 100193323Sed 101193323Sed/* ./m_format.c */ 102249423Sdim 103193323Sed#undef set_menu_format 104193323Sedint set_menu_format( 105193323Sed MENU *menu, 106224145Sdim int rows, 107193323Sed int cols) 108193323Sed { return(*(int *)0); } 109193323Sed 110224145Sdim#undef menu_format 111193323Sedvoid menu_format( 112193323Sed const MENU *menu, 113193323Sed int *rows, 114226633Sdim int *cols) 115226633Sdim { /* void */ } 116193323Sed 117226633Sdim/* ./m_global.c */ 118226633Sdim 119226633Sdim#undef _nc_Default_Menu 120226633SdimMENU _nc_Default_Menu; 121224145Sdim#undef _nc_Default_Item 122226633SdimITEM _nc_Default_Item; 123226633Sdim 124224145Sdim#undef _nc_Connect_Items 125193323Sedbool _nc_Connect_Items( 126193323Sed MENU *menu, 127239462Sdim ITEM **items) 128226633Sdim { return(*(bool *)0); } 129193323Sed 130193323Sed#undef _nc_Disconnect_Items 131239462Sdimvoid _nc_Disconnect_Items( 132193323Sed MENU *menu) 133249423Sdim { /* void */ } 134198090Srdivacky 135193323Sed#undef _nc_Calculate_Item_Length_and_Width 136193323Sedvoid _nc_Calculate_Item_Length_and_Width( 137226633Sdim MENU *menu) 138226633Sdim { /* void */ } 139226633Sdim 140226633Sdim#undef _nc_Link_Items 141226633Sdimvoid _nc_Link_Items( 142226633Sdim MENU *menu) 143226633Sdim { /* void */ } 144226633Sdim 145226633Sdim#undef _nc_Show_Menu 146226633Sdimvoid _nc_Show_Menu( 147226633Sdim const MENU *menu) 148249423Sdim { /* void */ } 149226633Sdim 150226633Sdim#undef _nc_New_TopRow_and_CurrentItem 151226633Sdimvoid _nc_New_TopRow_and_CurrentItem( 152226633Sdim MENU *menu, 153226633Sdim int new_toprow, 154226633Sdim ITEM *new_current_item) 155226633Sdim { /* void */ } 156193323Sed 157193323Sed/* ./m_hook.c */ 158226633Sdim 159226633Sdim#undef set_menu_init 160226633Sdimint set_menu_init( 161226633Sdim MENU *menu, 162249423Sdim Menu_Hook func) 163193323Sed { return(*(int *)0); } 164193323Sed 165193323Sed#undef menu_init 166193323SedMenu_Hook menu_init( 167193323Sed const MENU *menu) 168193323Sed { return(*(Menu_Hook *)0); } 169193323Sed 170193323Sed#undef set_menu_term 171193323Sedint set_menu_term( 172193323Sed MENU *menu, 173193323Sed Menu_Hook func) 174193323Sed { return(*(int *)0); } 175193323Sed 176193323Sed#undef menu_term 177193323SedMenu_Hook menu_term( 178249423Sdim const MENU *menu) 179193323Sed { return(*(Menu_Hook *)0); } 180193323Sed 181193323Sed#undef set_item_init 182249423Sdimint set_item_init( 183193323Sed MENU *menu, 184193323Sed Menu_Hook func) 185193323Sed { return(*(int *)0); } 186193323Sed 187193323Sed#undef item_init 188218893SdimMenu_Hook item_init( 189218893Sdim const MENU *menu) 190218893Sdim { return(*(Menu_Hook *)0); } 191218893Sdim 192218893Sdim#undef set_item_term 193218893Sdimint set_item_term( 194218893Sdim MENU *menu, 195218893Sdim Menu_Hook func) 196218893Sdim { return(*(int *)0); } 197218893Sdim 198218893Sdim#undef item_term 199218893SdimMenu_Hook item_term( 200218893Sdim const MENU *menu) 201218893Sdim { return(*(Menu_Hook *)0); } 202249423Sdim 203218893Sdim/* ./m_item_cur.c */ 204218893Sdim 205218893Sdim#undef set_current_item 206249423Sdimint set_current_item( 207218893Sdim MENU *menu, 208218893Sdim ITEM *item) 209218893Sdim { return(*(int *)0); } 210218893Sdim 211249423Sdim#undef current_item 212201360SrdivackyITEM *current_item( 213201360Srdivacky const MENU *menu) 214201360Srdivacky { return(*(ITEM **)0); } 215201360Srdivacky 216218893Sdim#undef item_index 217201360Srdivackyint item_index( 218200581Srdivacky const ITEM *item) 219201360Srdivacky { return(*(int *)0); } 220218893Sdim 221249423Sdim/* ./m_item_nam.c */ 222200581Srdivacky 223218893Sdim#undef item_name 224249423Sdimconst char *item_name( 225200581Srdivacky const ITEM *item) 226218893Sdim { return(*(const char **)0); } 227200581Srdivacky 228200581Srdivacky#undef item_description 229249423Sdimconst char *item_description( 230218893Sdim const ITEM *item) 231249423Sdim { return(*(const char **)0); } 232200581Srdivacky 233200581Srdivacky/* ./m_item_new.c */ 234200581Srdivacky 235200581Srdivacky#undef new_item 236200581SrdivackyITEM *new_item( 237200581Srdivacky const char *name, 238200581Srdivacky const char *description) 239200581Srdivacky { return(*(ITEM **)0); } 240201360Srdivacky 241249423Sdim#undef free_item 242193323Sedint free_item( 243193323Sed ITEM *item) 244193323Sed { return(*(int *)0); } 245193323Sed 246193323Sed#undef set_menu_mark 247193323Sedint set_menu_mark( 248193323Sed MENU *menu, 249193323Sed const char *mark) 250193323Sed { return(*(int *)0); } 251193323Sed 252193323Sed#undef menu_mark 253193323Sedconst char *menu_mark( 254193323Sed const MENU *menu) 255193323Sed { return(*(const char **)0); } 256193323Sed 257193323Sed/* ./m_item_opt.c */ 258193323Sed 259193323Sed#undef set_item_opts 260193323Sedint set_item_opts( 261193323Sed ITEM *item, 262193323Sed Item_Options opts) 263193323Sed { return(*(int *)0); } 264193323Sed 265193323Sed#undef item_opts_off 266193323Sedint item_opts_off( 267218893Sdim ITEM *item, 268193323Sed Item_Options opts) 269193323Sed { return(*(int *)0); } 270193323Sed 271193323Sed#undef item_opts_on 272193323Sedint item_opts_on( 273193323Sed ITEM *item, 274193323Sed Item_Options opts) 275218893Sdim { return(*(int *)0); } 276218893Sdim 277218893Sdim#undef item_opts 278218893SdimItem_Options item_opts( 279218893Sdim const ITEM *item) 280218893Sdim { return(*(Item_Options *)0); } 281218893Sdim 282218893Sdim/* ./m_item_top.c */ 283218893Sdim 284218893Sdim#undef set_top_row 285218893Sdimint set_top_row( 286218893Sdim MENU *menu, 287218893Sdim int row) 288218893Sdim { return(*(int *)0); } 289218893Sdim 290218893Sdim#undef top_row 291218893Sdimint top_row( 292193323Sed const MENU *menu) 293193323Sed { return(*(int *)0); } 294193323Sed 295218893Sdim/* ./m_item_use.c */ 296218893Sdim 297193323Sed#undef set_item_userptr 298193323Sedint set_item_userptr( 299193323Sed ITEM *item, 300249423Sdim void *userptr) 301193323Sed { return(*(int *)0); } 302193323Sed 303193323Sed#undef item_userptr 304249423Sdimvoid *item_userptr( 305193323Sed const ITEM *item) 306193323Sed { return(*(void **)0); } 307193323Sed 308193323Sed/* ./m_item_val.c */ 309249423Sdim 310193323Sed#undef set_item_value 311193323Sedint set_item_value( 312249423Sdim ITEM *item, 313193323Sed bool value) 314249423Sdim { return(*(int *)0); } 315193323Sed 316193323Sed#undef item_value 317193323Sedbool item_value( 318193323Sed const ITEM *item) 319193323Sed { return(*(bool *)0); } 320249423Sdim 321204642Srdivacky/* ./m_item_vis.c */ 322193323Sed 323249423Sdim#undef item_visible 324193323Sedbool item_visible( 325193323Sed const ITEM *item) 326243830Sdim { return(*(bool *)0); } 327234353Sdim 328193323Sed/* ./m_items.c */ 329193323Sed 330193323Sed#undef set_menu_items 331193323Sedint set_menu_items( 332193323Sed MENU *menu, 333193323Sed ITEM **items) 334193323Sed { return(*(int *)0); } 335193323Sed 336249423Sdim#undef menu_items 337193323SedITEM **menu_items( 338193323Sed const MENU *menu) 339249423Sdim { return(*(ITEM ***)0); } 340193323Sed 341193323Sed#undef item_count 342193323Sedint item_count( 343193323Sed const MENU *menu) 344249423Sdim { return(*(int *)0); } 345193323Sed 346193323Sed/* ./m_new.c */ 347193323Sed 348193323Sed#undef new_menu 349193323SedMENU *new_menu( 350193323Sed ITEM **items) 351193323Sed { return(*(MENU **)0); } 352193323Sed 353193323Sed#undef free_menu 354193323Sedint free_menu( 355193323Sed MENU *menu) 356193323Sed { return(*(int *)0); } 357193323Sed 358193323Sed/* ./m_opts.c */ 359193323Sed 360193323Sed#undef set_menu_opts 361193323Sedint set_menu_opts( 362193323Sed MENU *menu, 363249423Sdim Menu_Options opts) 364249423Sdim { return(*(int *)0); } 365193323Sed 366193323Sed#undef menu_opts_off 367193323Sedint menu_opts_off( 368193323Sed MENU *menu, 369193323Sed Menu_Options opts) 370218893Sdim { return(*(int *)0); } 371218893Sdim 372201360Srdivacky#undef menu_opts_on 373218893Sdimint menu_opts_on( 374193323Sed MENU *menu, 375193323Sed Menu_Options opts) 376193323Sed { return(*(int *)0); } 377249423Sdim 378193323Sed#undef menu_opts 379193323SedMenu_Options menu_opts( 380193323Sed const MENU *menu) 381193323Sed { return(*(Menu_Options *)0); } 382193323Sed 383193323Sed/* ./m_pad.c */ 384193323Sed 385204642Srdivacky#undef set_menu_pad 386204642Srdivackyint set_menu_pad( 387204642Srdivacky MENU *menu, 388204642Srdivacky int pad) 389204642Srdivacky { return(*(int *)0); } 390249423Sdim 391218893Sdim#undef menu_pad 392218893Sdimint menu_pad( 393218893Sdim const MENU *menu) 394249423Sdim { return(*(int *)0); } 395249423Sdim 396249423Sdim/* ./m_pattern.c */ 397218893Sdim 398218893Sdim#undef menu_pattern 399218893Sdimchar *menu_pattern( 400218893Sdim const MENU *menu) 401249423Sdim { return(*(char **)0); } 402193323Sed 403249423Sdim#undef set_menu_pattern 404249423Sdimint set_menu_pattern( 405249423Sdim MENU *menu, 406249423Sdim const char *p) 407221345Sdim { return(*(int *)0); } 408221345Sdim 409221345Sdim/* ./m_post.c */ 410221345Sdim 411221345Sdim#undef _nc_Post_Item 412221345Sdimvoid _nc_Post_Item( 413221345Sdim const MENU *menu, 414221345Sdim const ITEM *item) 415221345Sdim { /* void */ } 416221345Sdim 417221345Sdim#undef _nc_Draw_Menu 418243830Sdimvoid _nc_Draw_Menu( 419249423Sdim const MENU *menu) 420218893Sdim { /* void */ } 421193323Sed 422193323Sed#undef post_menu 423193323Sedint post_menu( 424218893Sdim MENU *menu) 425218893Sdim { return(*(int *)0); } 426193323Sed 427201360Srdivacky#undef unpost_menu 428193323Sedint unpost_menu( 429193323Sed MENU *menu) 430218893Sdim { return(*(int *)0); } 431193323Sed 432193323Sed/* ./m_req_name.c */ 433193323Sed 434193323Sed#undef menu_request_name 435193323Sedconst char *menu_request_name( 436249423Sdim int request) 437193323Sed { return(*(const char **)0); } 438193323Sed 439193323Sed#undef menu_request_by_name 440249423Sdimint menu_request_by_name( 441193323Sed const char *str) 442193323Sed { return(*(int *)0); } 443193323Sed 444193323Sed/* ./m_scale.c */ 445193323Sed 446#undef scale_menu 447int scale_menu( 448 const MENU *menu, 449 int *rows, 450 int *cols) 451 { return(*(int *)0); } 452 453/* ./m_spacing.c */ 454 455#undef set_menu_spacing 456int set_menu_spacing( 457 MENU *menu, 458 int s_desc, 459 int s_row, 460 int s_col) 461 { return(*(int *)0); } 462 463#undef menu_spacing 464int menu_spacing( 465 const MENU *menu, 466 int *s_desc, 467 int *s_row, 468 int *s_col) 469 { return(*(int *)0); } 470 471/* ./m_sub.c */ 472 473#undef set_menu_sub 474int set_menu_sub( 475 MENU *menu, 476 WINDOW *win) 477 { return(*(int *)0); } 478 479#undef menu_sub 480WINDOW *menu_sub( 481 const MENU *menu) 482 { return(*(WINDOW **)0); } 483 484/* ./m_userptr.c */ 485 486#undef set_menu_userptr 487int set_menu_userptr( 488 MENU *menu, 489 void *userptr) 490 { return(*(int *)0); } 491 492#undef menu_userptr 493void *menu_userptr( 494 const MENU *menu) 495 { return(*(void **)0); } 496 497/* ./m_win.c */ 498 499#undef set_menu_win 500int set_menu_win( 501 MENU *menu, 502 WINDOW *win) 503 { return(*(int *)0); } 504 505#undef menu_win 506WINDOW *menu_win( 507 const MENU *menu) 508 { return(*(WINDOW **)0); } 509