LCOV - code coverage report
Current view: top level - gio/tests - fake-desktop-portal.h (source / functions) Coverage Total Hit
Test: unnamed Lines: 100.0 % 1 1
Test Date: 2024-11-26 05:23:01 Functions: 100.0 % 2 2
Branches: - 0 0

             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_DESKTOP_PORTAL_H__
      21                 :             : #define __FAKE_DESKTOP_PORTAL_H__
      22                 :             : 
      23                 :             : #include <glib.h>
      24                 :             : 
      25                 :             : G_BEGIN_DECLS
      26                 :             : 
      27                 :             : #define G_TYPE_FAKE_DESKTOP_PORTAL_THREAD (g_fake_desktop_portal_thread_get_type ())
      28                 :          32 : G_DECLARE_FINAL_TYPE (GFakeDesktopPortalThread, g_fake_desktop_portal_thread, G, FAKE_DESKTOP_PORTAL_THREAD, GObject)
      29                 :             : 
      30                 :             : GFakeDesktopPortalThread *g_fake_desktop_portal_thread_new (const char *address);
      31                 :             : const gchar *g_fake_desktop_portal_thread_get_last_request_uri (GFakeDesktopPortalThread *self);
      32                 :             : const gchar *g_fake_desktop_portal_thread_get_last_request_activation_token (GFakeDesktopPortalThread *self);
      33                 :             : void g_fake_desktop_portal_thread_run (GFakeDesktopPortalThread *self);
      34                 :             : void g_fake_desktop_portal_thread_stop (GFakeDesktopPortalThread *self);
      35                 :             : 
      36                 :             : G_END_DECLS
      37                 :             : 
      38                 :             : #endif /* __FAKE_DESKTOP_PORTAL_H__ */
        

Generated by: LCOV version 2.0-1