mirror of
https://github.com/openharmony/third_party_alsa-utils.git
synced 2026-07-01 09:15:56 -04:00
89e746368c
Added configparser.c and curskey.c:
- Lines starting with arbitrary whitespace + '#' are comments
- Words in a command name don't have a fixed order (toggle_mute is the
same as mute_toggle)
Moved read_file() from textbox.c to utils.c, so configparser.c can make
use of it.
Added command line options:
-f/-F to specify/disable configuration file
-m/-M to enable/disable mouse
Signed-off-by: Benjamin Abendroth <braph93@gmx.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 lines
187 B
C
11 lines
187 B
C
#ifndef MAINLOOP_H_INCLUDED
|
|
#define MAINLOOP_H_INCLUDED
|
|
|
|
#include CURSESINC
|
|
|
|
void initialize_curses(bool use_color, bool use_mouse);
|
|
void mainloop(void);
|
|
void app_shutdown(void);
|
|
|
|
#endif
|