24b9008fd3ddffaaacec51be731a553b5e4939d1
[midnight-commander.git] / src / editor / editcmd_dialogs.h
blob24b9008fd3ddffaaacec51be731a553b5e4939d1
1 #ifndef MC__EDITCMD_DIALOGS_H
2 #define MC__EDITCMD_DIALOGS_H
4 #include "src/editor/edit.h"
6 /*** typedefs(not structures) and defined constants **********************************************/
8 struct etags_hash_struct;
10 #define B_REPLACE_ALL (B_USER+1)
11 #define B_REPLACE_ONE (B_USER+2)
12 #define B_SKIP_REPLACE (B_USER+3)
14 /*** enums ***************************************************************************************/
16 /*** structures declarations (and typedefs of structures)*****************************************/
18 /*** global variables defined in .c file *********************************************************/
20 /*** declarations of public functions ************************************************************/
22 void editcmd_dialog_replace_show (WEdit *, const char *, const char *, char **, char **);
24 gboolean editcmd_dialog_search_show (WEdit * edit);
26 int editcmd_dialog_raw_key_query (const char *heading, const char *query, gboolean cancel);
28 void editcmd_dialog_completion_show (WEdit *, int, int, GString **, int);
30 void editcmd_dialog_select_definition_show (WEdit *, char *, int, int, struct etags_hash_struct *,
31 int);
33 int editcmd_dialog_replace_prompt_show (WEdit *, char *, char *, int, int);
34 /*** inline functions ****************************************************************************/
35 #endif /* MC__EDITCMD_DIALOGS_H */