Blame src/dh-util.h

Packit 116408
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
Packit 116408
/*
Packit 116408
 * Copyright (C) 2001-2002 Mikael Hallendal <micke@imendio.com>
Packit 116408
 * Copyright (C) 2004,2008 Imendio AB
Packit 116408
 * Copyright (C) 2015, 2017 Sébastien Wilmet <swilmet@gnome.org>
Packit 116408
 *
Packit 116408
 * This program is free software; you can redistribute it and/or
Packit 116408
 * modify it under the terms of the GNU General Public License as
Packit 116408
 * published by the Free Software Foundation; either version 2 of the
Packit 116408
 * License, or (at your option) any later version.
Packit 116408
 *
Packit 116408
 * This program is distributed in the hope that it will be useful,
Packit 116408
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 116408
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 116408
 * General Public License for more details.
Packit 116408
 *
Packit 116408
 * You should have received a copy of the GNU General Public License
Packit 116408
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
Packit 116408
 */
Packit 116408
Packit 116408
#ifndef DH_UTIL_H
Packit 116408
#define DH_UTIL_H
Packit 116408
Packit 116408
#include <gtk/gtk.h>
Packit 116408
#include <webkit2/webkit2.h>
Packit 116408
Packit 116408
G_BEGIN_DECLS
Packit 116408
Packit 116408
gchar *      dh_util_build_data_filename          (const gchar *first_part,
Packit 116408
                                                   ...);
Packit 116408
Packit 116408
void         dh_util_ascii_strtitle               (gchar *str);
Packit 116408
Packit 116408
gchar       *dh_util_create_data_uri_for_filename (const gchar *filename,
Packit 116408
                                                   const gchar *mime_type);
Packit 116408
Packit 116408
void         dh_util_view_set_font                (WebKitWebView *view,
Packit 116408
                                                   const gchar *font_name_fixed,
Packit 116408
                                                   const gchar *font_name_variable);
Packit 116408
Packit 116408
void         dh_util_window_settings_save         (GtkWindow *window,
Packit 116408
                                                   GSettings *settings);
Packit 116408
Packit 116408
void         dh_util_window_settings_restore      (GtkWindow *gtk_window,
Packit 116408
                                                   GSettings *settings);
Packit 116408
Packit 116408
void         dh_util_queue_concat                 (GQueue *q1,
Packit 116408
                                                   GQueue *q2);
Packit 116408
Packit 116408
G_GNUC_INTERNAL
Packit 116408
void         _dh_util_free_book_tree              (GNode *book_tree);
Packit 116408
Packit 116408
G_GNUC_INTERNAL
Packit 116408
GSList *     _dh_util_get_possible_index_files    (GFile *book_directory);
Packit 116408
Packit 116408
G_END_DECLS
Packit 116408
Packit 116408
#endif /* DH_UTIL_H */