2005-11-22 12:26:26 +00:00
|
|
|
/*
|
|
|
|
* dialogs.h - this file is part of Geany, a fast and lightweight IDE
|
|
|
|
*
|
2006-01-11 18:44:52 +00:00
|
|
|
* Copyright 2006 Enrico Troeger <enrico.troeger@uvena.de>
|
2005-11-22 12:26:26 +00:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2006-07-25 12:46:08 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2005-11-22 12:26:26 +00:00
|
|
|
*
|
2005-12-11 02:16:02 +00:00
|
|
|
* $Id$
|
2005-11-22 12:26:26 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef GEANY_DIALOGS_H
|
|
|
|
#define GEANY_DIALOGS_H 1
|
|
|
|
|
|
|
|
/* This shows the file selection dialog to open a file. */
|
2006-04-27 18:06:35 +00:00
|
|
|
void dialogs_show_open_file(void);
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
/* This shows the file selection dialog to save a file. */
|
2006-04-27 18:06:35 +00:00
|
|
|
void dialogs_show_save_as();
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
void dialogs_show_info(const gchar *text, ...);
|
|
|
|
|
|
|
|
void dialogs_show_error(const gchar *text, ...);
|
|
|
|
|
|
|
|
gboolean dialogs_show_unsaved_file(gint idx);
|
|
|
|
|
|
|
|
/* This shows the font selection dialog to choose a font. */
|
|
|
|
void dialogs_show_open_font(void);
|
|
|
|
|
|
|
|
void dialogs_show_word_count(void);
|
|
|
|
|
2006-07-27 20:57:13 +00:00
|
|
|
void dialogs_show_color(gchar *colour);
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2006-04-27 18:06:35 +00:00
|
|
|
GtkWidget *dialogs_create_build_menu_gen(gint idx);
|
2006-01-11 18:44:52 +00:00
|
|
|
|
2006-04-27 18:06:35 +00:00
|
|
|
GtkWidget *dialogs_create_build_menu_tex(gint idx);
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
void dialogs_show_make_target(void);
|
|
|
|
|
|
|
|
void dialogs_show_find(void);
|
|
|
|
|
|
|
|
void dialogs_show_replace(void);
|
|
|
|
|
2006-07-13 14:30:44 +00:00
|
|
|
void dialogs_show_find_in_files(void);
|
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
void dialogs_show_goto_line(void);
|
|
|
|
|
2006-04-27 18:06:35 +00:00
|
|
|
void dialogs_show_includes_arguments_gen(void);
|
2006-01-11 18:44:52 +00:00
|
|
|
|
|
|
|
void dialogs_show_includes_arguments_tex(void);
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
void dialogs_create_recent_menu(void);
|
|
|
|
|
|
|
|
GtkWidget *dialogs_add_file_open_extra_widget(void);
|
|
|
|
|
2006-02-22 13:46:20 +00:00
|
|
|
void dialogs_show_file_properties(gint idx);
|
|
|
|
|
2006-04-27 18:06:35 +00:00
|
|
|
gboolean dialogs_show_question(const gchar *text, ...);
|
|
|
|
|
2006-06-05 15:12:40 +00:00
|
|
|
void dialogs_show_keyboard_shortcuts(void);
|
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
#endif
|