- * Copyright (c) 1998,2000 Free Software Foundation, Inc. *
+ * Copyright 2018-2020,2021 Thomas E. Dickey *
+ * Copyright 1998-2012,2016 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
/****************************************************************************
* Author: Juergen Pfeifer, 1995,1997 *
/****************************************************************************
* Author: Juergen Pfeifer, 1995,1997 *
****************************************************************************/
/***************************************************************************
****************************************************************************/
/***************************************************************************
/* "Template" macro to generate function to set application specific hook */
#define GEN_HOOK_SET_FUNCTION( typ, name ) \
/* "Template" macro to generate function to set application specific hook */
#define GEN_HOOK_SET_FUNCTION( typ, name ) \
(Normalize_Menu(menu) -> typ ## name = func );\
RETURN(E_OK);\
}
/* "Template" macro to generate function to get application specific hook */
#define GEN_HOOK_GET_FUNCTION( typ, name ) \
(Normalize_Menu(menu) -> typ ## name = func );\
RETURN(E_OK);\
}
/* "Template" macro to generate function to get application specific hook */
#define GEN_HOOK_GET_FUNCTION( typ, name ) \
| Description : Set user-exit which is called when menu is posted
| or just after the top row changes.
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
| Description : Set user-exit which is called when menu is posted
| or just after the top row changes.
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
| changes.
|
| Return Values : Menu init function address or NULL
+--------------------------------------------------------------------------*/
| changes.
|
| Return Values : Menu init function address or NULL
+--------------------------------------------------------------------------*/
| Description : Set user-exit which is called when menu is unposted
| or just before the top row changes.
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
| Description : Set user-exit which is called when menu is unposted
| or just before the top row changes.
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
| changes.
|
| Return Values : Menu finalization function address or NULL
+--------------------------------------------------------------------------*/
| changes.
|
| Return Values : Menu finalization function address or NULL
+--------------------------------------------------------------------------*/
| Description : Set user-exit which is called when menu is posted
| or just after the current item changes.
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
| Description : Set user-exit which is called when menu is posted
| or just after the current item changes.
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
| changes.
|
| Return Values : Item init function address or NULL
+--------------------------------------------------------------------------*/
| changes.
|
| Return Values : Item init function address or NULL
+--------------------------------------------------------------------------*/
| Description : Set user-exit which is called when menu is unposted
| or just before the current item changes.
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
| Description : Set user-exit which is called when menu is unposted
| or just before the current item changes.
|
| Return Values : E_OK - success
+--------------------------------------------------------------------------*/
| changes.
|
| Return Values : Item finalization function address or NULL
+--------------------------------------------------------------------------*/
| changes.
|
| Return Values : Item finalization function address or NULL
+--------------------------------------------------------------------------*/