Merge branch 'fix-gdbus-unix-address' into 'master'
[glib.git] / gio / gopenuriportal.h
blob00863ef909167998a789f45cea93d1d1307a3cd5
1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright 2017 Red Hat, Inc.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library 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 GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
19 #ifndef __G_OPEN_URI_PORTAL_H__
21 #include <glib.h>
22 #include <gio/gio.h>
24 G_BEGIN_DECLS
26 gboolean g_openuri_portal_open_uri (const char *uri,
27 const char *parent_window,
28 GError **error);
30 void g_openuri_portal_open_uri_async (const char *uri,
31 const char *parent_window,
32 GCancellable *cancellable,
33 GAsyncReadyCallback callback,
34 gpointer user_data);
36 gboolean g_openuri_portal_open_uri_finish (GAsyncResult *result,
37 GError **error);
39 G_END_DECLS
41 #endif