GnuCash c935c2f+
Loading...
Searching...
No Matches
dialog-doclink-utils.h
1/********************************************************************\
2 * dialog-doclink-utils.h -- Document link dialog Utils *
3 * Copyright (C) 2020 Robert Fewell *
4 * *
5 * This program is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU General Public License as *
7 * published by the Free Software Foundation; either version 2 of *
8 * the License, or (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License*
16 * along with this program; if not, contact: *
17 * *
18 * Free Software Foundation Voice: +1-617-542-5942 *
19 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
20 * Boston, MA 02110-1301, USA gnu@gnu.org *
21\********************************************************************/
22
23#ifndef DIALOG_DOCLINK_UTILS_H
24#define DIALOG_DOCLINK_UTILS_H
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#define GNC_DOC_LINK_PATH_HEAD "assoc-head"
31/* Note, assoc-head is the old name for the document link head which has been
32 kept for compatibility */
33
34
46gchar * gnc_doclink_get_path_head (void);
47
54void gnc_doclink_set_path_head_label (GtkWidget *path_head_label,
55 const gchar *incoming_path_head,
56 const gchar *prefix);
57
72gchar * gnc_doclink_get_use_uri (const gchar *path_head, const gchar *uri, gchar *uri_scheme);
73
83gchar * gnc_doclink_convert_trans_link_uri (gpointer trans, gboolean book_ro);
84
99gchar * gnc_doclink_get_unescape_uri (const gchar *path_head, const gchar *uri, gchar *uri_scheme);
100
113gchar * gnc_doclink_get_unescaped_just_uri (const gchar *uri);
114
125void gnc_doclink_pref_path_head_changed (GtkWindow *parent, const gchar *old_path_head_uri);
126
127#ifdef __cplusplus
128}
129#endif
130
131#endif