2006-05-21 18:11:05 -05:00
|
|
|
/*
|
2005-09-03 06:25:43 +00:00
|
|
|
* mooeditdialogs.h
|
2005-06-22 18:20:32 +00:00
|
|
|
*
|
2007-06-24 12:56:20 -05:00
|
|
|
* Copyright (C) 2004-2007 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
2005-06-22 18:20:32 +00:00
|
|
|
*
|
2007-06-24 12:56:20 -05:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
2007-09-23 11:47:28 -05:00
|
|
|
* License version 2.1 as published by the Free Software Foundation.
|
2005-06-22 18:20:32 +00:00
|
|
|
*
|
|
|
|
* See COPYING file that comes with this distribution.
|
|
|
|
*/
|
|
|
|
|
2007-06-10 04:06:03 -05:00
|
|
|
#ifndef MOO_EDIT_DIALOGS_H
|
|
|
|
#define MOO_EDIT_DIALOGS_H
|
2005-06-22 18:20:32 +00:00
|
|
|
|
|
|
|
#include "mooedit/mooedit.h"
|
2005-10-13 14:08:18 +00:00
|
|
|
#include "mooutils/moofiltermgr.h"
|
2007-12-02 12:20:49 -06:00
|
|
|
#include "mooutils/moodialogs.h"
|
2005-06-22 18:20:32 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
|
2006-11-04 01:03:45 -06:00
|
|
|
MooEditFileInfo *_moo_edit_save_as_dialog (MooEdit *edit,
|
2006-04-13 03:19:51 -05:00
|
|
|
MooFilterMgr *mgr,
|
|
|
|
const char *display_basename);
|
2006-11-04 01:03:45 -06:00
|
|
|
GSList *_moo_edit_open_dialog (GtkWidget *widget,
|
2007-08-07 00:19:47 -05:00
|
|
|
MooFilterMgr *mgr,
|
|
|
|
MooEdit *current_doc);
|
2005-09-03 06:25:43 +00:00
|
|
|
|
2007-12-02 12:20:49 -06:00
|
|
|
MooSaveChangesDialogResponse
|
|
|
|
_moo_edit_save_changes_dialog (MooEdit *edit);
|
|
|
|
MooSaveChangesDialogResponse
|
|
|
|
_moo_edit_save_multiple_changes_dialog (GSList *docs,
|
2005-09-02 23:27:25 +00:00
|
|
|
GSList **to_save);
|
2005-06-22 18:20:32 +00:00
|
|
|
|
2006-11-04 01:03:45 -06:00
|
|
|
gboolean _moo_edit_reload_modified_dialog (MooEdit *edit);
|
|
|
|
gboolean _moo_edit_overwrite_modified_dialog (MooEdit *edit);
|
2005-09-03 06:25:43 +00:00
|
|
|
|
2006-11-04 01:03:45 -06:00
|
|
|
void _moo_edit_save_error_dialog (GtkWidget *widget,
|
2005-11-26 15:40:49 +00:00
|
|
|
const char *filename,
|
2006-12-17 10:58:17 -06:00
|
|
|
GError *error);
|
|
|
|
void _moo_edit_save_error_enc_dialog (GtkWidget *widget,
|
|
|
|
const char *filename,
|
|
|
|
const char *encoding);
|
2006-11-04 01:03:45 -06:00
|
|
|
void _moo_edit_open_error_dialog (GtkWidget *widget,
|
2005-11-26 15:40:49 +00:00
|
|
|
const char *filename,
|
2006-12-17 10:58:17 -06:00
|
|
|
const char *encoding,
|
|
|
|
GError *error);
|
2006-12-12 23:53:40 -06:00
|
|
|
void _moo_edit_reload_error_dialog (MooEdit *doc,
|
2006-12-17 10:58:17 -06:00
|
|
|
GError *error);
|
2005-09-02 23:27:25 +00:00
|
|
|
|
|
|
|
|
2006-11-04 01:03:45 -06:00
|
|
|
gboolean _moo_text_search_from_start_dialog (GtkWidget *parent,
|
2005-09-02 23:27:25 +00:00
|
|
|
gboolean backwards);
|
2006-11-04 01:03:45 -06:00
|
|
|
void _moo_text_regex_error_dialog (GtkWidget *parent,
|
2005-09-02 23:27:25 +00:00
|
|
|
GError *error);
|
2005-11-14 03:08:24 +00:00
|
|
|
|
2006-11-04 01:03:45 -06:00
|
|
|
gboolean _moo_text_replace_from_start_dialog(GtkWidget *parent,
|
2005-11-14 03:08:24 +00:00
|
|
|
int replaced);
|
2006-11-04 01:03:45 -06:00
|
|
|
GtkWidget *_moo_text_prompt_on_replace_dialog (GtkWidget *parent);
|
2005-06-22 18:20:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2007-06-10 04:06:03 -05:00
|
|
|
#endif /* MOO_EDIT_DIALOGS_H */
|