Ticket #1648: implemented single-line boxes.
[kaloumi3.git] / src / editor / editcmd_dialogs.h
blob6b880b7c0f36dd4cd3a65b22f55f2205f7d85dfb
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 struct selection {
19 gchar *text;
20 gsize len;
23 /*** global variables defined in .c file *********************************************************/
25 /*** declarations of public functions ************************************************************/
27 void editcmd_dialog_replace_show (WEdit *, const char *, const char *, char **, char **);
29 void editcmd_dialog_search_show (WEdit *, char **);
31 int editcmd_dialog_raw_key_query (const char *, const char *, int);
33 void editcmd_dialog_completion_show (WEdit *, int, int, struct selection *, int);
35 void editcmd_dialog_select_definition_show (WEdit *, char *, int, int, struct etags_hash_struct *,
36 int);
38 int editcmd_dialog_replace_prompt_show (WEdit *, char *, char *, int, int);
39 #endif