mirror of
https://github.com/MidnightCommander/mc
synced 2025-04-14 19:12:53 +03:00
Move src/filemanager/complete.c to lib/widget/input_complete.c
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
5a458c702d
commit
e784cf65a5
@ -12,6 +12,7 @@ libmcwidget_la_SOURCES = \
|
|||||||
hline.c hline.h \
|
hline.c hline.h \
|
||||||
history.c history.h \
|
history.c history.h \
|
||||||
input.c input.h \
|
input.c input.h \
|
||||||
|
input_complete.c input_complete.h \
|
||||||
listbox-window.c listbox-window.h \
|
listbox-window.c listbox-window.h \
|
||||||
listbox.c listbox.h \
|
listbox.c listbox.h \
|
||||||
label.c label.h \
|
label.c label.h \
|
||||||
|
@ -50,6 +50,8 @@
|
|||||||
#include "lib/keybind.h" /* global_keymap_t */
|
#include "lib/keybind.h" /* global_keymap_t */
|
||||||
#include "lib/widget.h"
|
#include "lib/widget.h"
|
||||||
|
|
||||||
|
#include "input_complete.h"
|
||||||
|
|
||||||
#include "src/main.h" /* home_dir */
|
#include "src/main.h" /* home_dir */
|
||||||
#include "src/filemanager/midnight.h" /* current_panel */
|
#include "src/filemanager/midnight.h" /* current_panel */
|
||||||
#include "src/clipboard.h" /* copy_file_to_ext_clip, paste_to_file_from_ext_clip */
|
#include "src/clipboard.h" /* copy_file_to_ext_clip, paste_to_file_from_ext_clip */
|
||||||
|
@ -88,9 +88,6 @@ void input_disable_update (WInput * in);
|
|||||||
void input_clean (WInput * in);
|
void input_clean (WInput * in);
|
||||||
void input_free_completions (WInput * in);
|
void input_free_completions (WInput * in);
|
||||||
|
|
||||||
/* src/complete.c */
|
|
||||||
void complete (WInput * in);
|
|
||||||
|
|
||||||
/*** inline functions ****************************************************************************/
|
/*** inline functions ****************************************************************************/
|
||||||
|
|
||||||
#endif /* MC__WIDGET_INPUT_H */
|
#endif /* MC__WIDGET_INPUT_H */
|
||||||
|
@ -46,6 +46,8 @@
|
|||||||
#include "lib/util.h"
|
#include "lib/util.h"
|
||||||
#include "lib/widget.h"
|
#include "lib/widget.h"
|
||||||
|
|
||||||
|
#include "input_complete.h"
|
||||||
|
|
||||||
/*** global variables ****************************************************************************/
|
/*** global variables ****************************************************************************/
|
||||||
|
|
||||||
/* Linux declares environ in <unistd.h>, so don't repeat it here. */
|
/* Linux declares environ in <unistd.h>, so don't repeat it here. */
|
18
lib/widget/input_complete.h
Normal file
18
lib/widget/input_complete.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef MC__WIDGET_INPUT_COMPLETE_H
|
||||||
|
#define MC__WIDGET_INPUT_COMPLETE_H
|
||||||
|
|
||||||
|
/*** typedefs(not structures) and defined constants **********************************************/
|
||||||
|
|
||||||
|
/*** enums ***************************************************************************************/
|
||||||
|
|
||||||
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
||||||
|
|
||||||
|
/*** global variables defined in .c file *********************************************************/
|
||||||
|
|
||||||
|
/*** declarations of public functions ************************************************************/
|
||||||
|
|
||||||
|
void complete (WInput * in);
|
||||||
|
|
||||||
|
/*** inline functions ****************************************************************************/
|
||||||
|
|
||||||
|
#endif /* MC__WIDGET_INPUT_COMPLETE_H */
|
@ -8,7 +8,6 @@ libmcfilemanager_la_SOURCES = \
|
|||||||
chown.c chown.h \
|
chown.c chown.h \
|
||||||
cmd.c cmd.h \
|
cmd.c cmd.h \
|
||||||
command.c command.h \
|
command.c command.h \
|
||||||
complete.c \
|
|
||||||
dir.c dir.h \
|
dir.c dir.h \
|
||||||
ext.c ext.h \
|
ext.c ext.h \
|
||||||
file.c file.h \
|
file.c file.h \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user