mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-25 05:46:51 +03:00
4eba917c0c
Some cosmetic changes. Fixed compiling warnings. Signed-off-by: Ilia Maslakov <il.smind@gmail.com> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
#ifndef MC__EDITCMD_DIALOGS_H
|
|
#define MC__EDITCMD_DIALOGS_H
|
|
|
|
#include "../edit/edit.h"
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
struct etags_hash_struct;
|
|
|
|
#define B_REPLACE_ALL (B_USER+1)
|
|
#define B_REPLACE_ONE (B_USER+2)
|
|
#define B_SKIP_REPLACE (B_USER+3)
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
struct selection {
|
|
gchar *text;
|
|
gsize len;
|
|
};
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
void editcmd_dialog_replace_show (WEdit *, const char *, const char *, char **, char **);
|
|
|
|
void editcmd_dialog_search_show (WEdit *, char **);
|
|
|
|
int editcmd_dialog_raw_key_query (const char *, const char *, int);
|
|
|
|
void editcmd_dialog_completion_show (WEdit *, int, int, struct selection *, int);
|
|
|
|
void editcmd_dialog_select_definition_show (WEdit *, char *, int, int, struct etags_hash_struct *,
|
|
int);
|
|
|
|
int editcmd_dialog_replace_prompt_show (WEdit *, char *, char *, int, int);
|
|
#endif
|