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 : : G_BEGIN_DECLS
27 : :
28 : : #define G_TYPE_FAKE_DOCUMENT_PORTAL_THREAD (g_fake_document_portal_thread_get_type ())
29 : 10 : G_DECLARE_FINAL_TYPE (GFakeDocumentPortalThread, g_fake_document_portal_thread, G, FAKE_DOCUMENT_PORTAL_THREAD, GObject)
30 : :
31 : : GFakeDocumentPortalThread *g_fake_document_portal_thread_new (const char *address);
32 : : void g_fake_document_portal_thread_run (GFakeDocumentPortalThread *self);
33 : : void g_fake_document_portal_thread_stop (GFakeDocumentPortalThread *self);
34 : :
35 : : G_END_DECLS
36 : :
37 : : #endif /* __FAKE_DOCUMENT_PORTAL_H__ */
|