mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
bbf1f4e857
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
28 lines
1.0 KiB
C
28 lines
1.0 KiB
C
|
|
/** \file history.h
|
|
* \brief Header: save, load and show history
|
|
*/
|
|
|
|
#ifndef MC__WIDGET_HISTORY_H
|
|
#define MC__WIDGET_HISTORY_H
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
GList *history_get (const char *input_name);
|
|
void history_put (const char *input_name, GList * h);
|
|
/* for repositioning of history dialog we should pass widget to this
|
|
* function, as position of history dialog depends on widget's position */
|
|
char *history_show (GList ** history, Widget * widget);
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
|
|
#endif /* MC__WIDGET_HISTORY_H */
|