diff options
author | Unit 193 <unit193@ubuntu.com> | 2015-04-27 22:35:30 -0400 |
---|---|---|
committer | Unit 193 <unit193@ubuntu.com> | 2015-04-27 22:35:30 -0400 |
commit | 67d2aa65900c01deaa816f91b70dca45fac6ec1a (patch) | |
tree | 0fc6002399450a581ed42d6bb57ba4e53320d834 /src/editor/editor.h | |
parent | 1809e0b34ae5219974c45d9d55553a13f370f972 (diff) |
Imported Upstream version 4.0.2+dfsg1
Diffstat (limited to 'src/editor/editor.h')
-rw-r--r-- | src/editor/editor.h | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/src/editor/editor.h b/src/editor/editor.h index b4f4747..8a44de2 100644 --- a/src/editor/editor.h +++ b/src/editor/editor.h @@ -2,7 +2,7 @@ * Xiphos Bible Study Tool * editor.h - webkit stuff * - * Copyright (C) 2005-2014 Xiphos Developer Team + * Copyright (C) 2005-2015 Xiphos Developer Team * * 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 @@ -21,41 +21,39 @@ #ifndef _EDITOR_H #define _EDITOR_H - + #include <config.h> #ifdef __cplusplus -extern "C" -{ +extern "C" { #endif - -#include <gtk/gtk.h> + +#include <gtk/gtk.h> #ifdef USE_WEBKIT_EDITOR - -#include "editor/webkit_editor.h" +#include "editor/webkit_editor.h" -gchar * editor_get_selected_text (EDITOR * e); -void editor_find_string (gchar * needle, EDITOR * e); -void editor_replace_string (gchar * old_string, gchar * new_string, EDITOR * e); -gint editor_insert_new_outline_level (gint level, EDITOR * e); -gboolean editor_cut( EDITOR * e ); -gboolean editor_copy( EDITOR * e ); -gboolean editor_paste( EDITOR * e ); -void editor_get_document_content (GString * data, EDITOR * e); +gchar *editor_get_selected_text(EDITOR *e); +void editor_find_string(gchar *needle, EDITOR *e); +void editor_replace_string(gchar *old_string, gchar *new_string, + EDITOR *e); +gint editor_insert_new_outline_level(gint level, EDITOR *e); +gboolean editor_cut(EDITOR *e); +gboolean editor_copy(EDITOR *e); +gboolean editor_paste(EDITOR *e); +void editor_get_document_content(GString *data, EDITOR *e); //void editor_open_recent (const gchar * uri, EDITOR * e); -gboolean editor_insert_link(void); -gboolean editor_insert_sword_link(void); -void editor_insert_link_ok (void); -void editor_execute_script (gchar * script, EDITOR * e); -void editor_insert_html(const gchar * html, EDITOR * e); -void create_editor_window (GtkWidget * scrollwindow, EDITOR * e); +gboolean editor_insert_link(void); +gboolean editor_insert_sword_link(void); +void editor_insert_link_ok(void); +void editor_execute_script(gchar *script, EDITOR *e); +void editor_insert_html(const gchar *html, EDITOR *e); +void create_editor_window(GtkWidget *scrollwindow, EDITOR *e); #endif /* USE_WEBKIT_EDITOR */ #ifdef __cplusplus } #endif - #endif /* _EDITOR_H */ |