medit/moo/mooedit/mooeditdialogs.h

55 lines
2.3 KiB
C

/*
* mooedit/mooeditdialogs.h
*
* Copyright (C) 2004-2005 by Yevgen Muntyan <muntyan@math.tamu.edu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* See COPYING file that comes with this distribution.
*/
#ifndef MOOEDIT_MOOEDITDIALOGS_H
#define MOOEDIT_MOOEDITDIALOGS_H
#include "mooedit/mooedit.h"
G_BEGIN_DECLS
int moo_edit_save_changes_dialog (MooEdit *edit);
void moo_edit_save_error_dialog (GtkWidget *widget,
const char *err_msg);
MooEditFileInfo *moo_edit_save_as_dialog (MooEdit *edit);
MooEditFileInfo *moo_edit_open_dialog (GtkWidget *widget);
void moo_edit_open_error_dialog (GtkWidget *widget,
const char *err_msg);
void moo_edit_load_error_dialog (GtkWidget *widget,
const char *err_msg);
gboolean moo_edit_reload_dialog (MooEdit *edit);
gboolean moo_edit_overwrite_modified_dialog (MooEdit *edit);
gboolean moo_edit_overwrite_deleted_dialog (MooEdit *edit);
void moo_edit_file_deleted_dialog (MooEdit *edit);
int moo_edit_file_modified_on_disk_dialog (MooEdit *edit);
void moo_edit_nothing_found_dialog (MooEdit *edit,
const char *text,
gboolean regex);
gboolean moo_edit_search_from_beginning_dialog
(MooEdit *edit,
gboolean backwards);
void moo_edit_regex_error_dialog (MooEdit *edit,
GError *err);
void moo_edit_replaced_n_dialog (MooEdit *edit,
guint n);
GtkWidget *moo_edit_prompt_on_replace_dialog (MooEdit *edit);
G_END_DECLS
#endif /* MOOEDIT_MOOEDITDIALOGS_H */