Branch data Line data Source code
1 : : /*
2 : : * Copyright 2024 GNOME Foundation
3 : : *
4 : : * SPDX-License-Identifier: LGPL-2.1-or-later
5 : : *
6 : : * This library is free software; you can redistribute it and/or
7 : : * modify it under the terms of the GNU Lesser General Public
8 : : * License as published by the Free Software Foundation; either
9 : : * version 2.1 of the License, or (at your option) any later version.
10 : : *
11 : : * This library is distributed in the hope that it will be useful,
12 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 : : * Lesser General Public License for more details.
15 : : *
16 : : * You should have received a copy of the GNU Lesser General
17 : : * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 : : */
19 : :
20 : : #ifndef __FAKE_DOCUMENT_PORTAL_H__
21 : : #define __FAKE_DOCUMENT_PORTAL_H__
22 : :
23 : : #include <glib.h>
24 : : #include <glib-object.h>
25 : :
26 : : #define G_FAKE_DOCUMENT_PORTAL_NO_CREATE_DIR_APP_ID "org.gnome.glib.gio.no-fake-dirs"
27 : : #define G_FAKE_DOCUMENT_PORTAL_NO_CREATE_FILE_APP_ID "org.gnome.glib.gio.no-fake-files"
28 : :
29 : : G_BEGIN_DECLS
30 : :
31 : : #define G_TYPE_FAKE_DOCUMENT_PORTAL_THREAD (g_fake_document_portal_thread_get_type ())
32 : 81 : G_DECLARE_FINAL_TYPE (GFakeDocumentPortalThread, g_fake_document_portal_thread, G, FAKE_DOCUMENT_PORTAL_THREAD, GObject)
33 : :
34 : : GFakeDocumentPortalThread *g_fake_document_portal_thread_new (const char *address,
35 : : const char *app_id);
36 : : void g_fake_document_portal_thread_run (GFakeDocumentPortalThread *self);
37 : : void g_fake_document_portal_thread_stop (GFakeDocumentPortalThread *self);
38 : : const char *g_fake_document_portal_thread_get_mount_point (GFakeDocumentPortalThread *self);
39 : :
40 : : G_END_DECLS
41 : :
42 : : #endif /* __FAKE_DOCUMENT_PORTAL_H__ */
|