1 | /* |
2 | * GTK - The GIMP Toolkit |
3 | * Copyright (C) 2008 Jaap Haitsma <jaap@haitsma.org> |
4 | * |
5 | * All rights reserved. |
6 | * |
7 | * This library is free software; you can redistribute it and/or |
8 | * modify it under the terms of the GNU Lesser General Public |
9 | * License as published by the Free Software Foundation; either |
10 | * version 2 of the License, or (at your option) any later version. |
11 | * |
12 | * This library is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 | * Lesser General Public License for more details. |
16 | * |
17 | * You should have received a copy of the GNU Lesser General Public |
18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
19 | */ |
20 | |
21 | #ifndef __GTK_SHOW_H__ |
22 | #define __GTK_SHOW_H__ |
23 | |
24 | #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) |
25 | #error "Only <gtk/gtk.h> can be included directly." |
26 | #endif |
27 | |
28 | #include <gtk/gtkwindow.h> |
29 | |
30 | G_BEGIN_DECLS |
31 | |
32 | GDK_AVAILABLE_IN_ALL |
33 | void gtk_show_uri_full (GtkWindow *parent, |
34 | const char *uri, |
35 | guint32 timestamp, |
36 | GCancellable *cancellable, |
37 | GAsyncReadyCallback callback, |
38 | gpointer user_data); |
39 | |
40 | GDK_AVAILABLE_IN_ALL |
41 | gboolean gtk_show_uri_full_finish (GtkWindow *parent, |
42 | GAsyncResult *result, |
43 | GError **error); |
44 | |
45 | GDK_AVAILABLE_IN_ALL |
46 | void gtk_show_uri (GtkWindow *parent, |
47 | const char *uri, |
48 | guint32 timestamp); |
49 | |
50 | G_END_DECLS |
51 | |
52 | #endif /* __GTK_SHOW_H__ */ |
53 | |