LCOV - code coverage report
Current view: top level - libmalcontent-web - filtering-dbus-service.h (source / functions) Coverage Total Hit
Test: 2 coverage DB files Lines: 100.0 % 1 1
Test Date: 2025-09-15 13:55:46 Functions: 100.0 % 2 2
Branches: 50.0 % 6 3

             Branch data     Line data    Source code
       1                 :             : /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
       2                 :             :  *
       3                 :             :  * Copyright 2025 GNOME Foundation, Inc.
       4                 :             :  *
       5                 :             :  * SPDX-License-Identifier: LGPL-2.1-or-later
       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.1 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, write to the Free Software
      19                 :             :  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
      20                 :             :  *
      21                 :             :  * Authors:
      22                 :             :  *  - Philip Withnall <pwithnall@gnome.org>
      23                 :             :  */
      24                 :             : 
      25                 :             : #pragma once
      26                 :             : 
      27                 :             : #include <glib.h>
      28                 :             : #include <glib-object.h>
      29                 :             : #include <gio/gio.h>
      30                 :             : #include <libmalcontent-web/filter-updater.h>
      31                 :             : 
      32                 :             : G_BEGIN_DECLS
      33                 :             : 
      34                 :             : #define MCT_TYPE_FILTERING_DBUS_SERVICE mct_filtering_dbus_service_get_type ()
      35   [ -  +  +  -  :           9 : G_DECLARE_FINAL_TYPE (MctFilteringDBusService, mct_filtering_dbus_service, MCT,
                   +  - ]
      36                 :             :                       FILTERING_DBUS_SERVICE, GObject)
      37                 :             : 
      38                 :             : MctFilteringDBusService *mct_filtering_dbus_service_new (GDBusConnection  *connection,
      39                 :             :                                                          const char       *object_path,
      40                 :             :                                                          MctFilterUpdater *filter_updater);
      41                 :             : 
      42                 :             : gboolean mct_filtering_dbus_service_register   (MctFilteringDBusService  *self,
      43                 :             :                                                 GError                  **error);
      44                 :             : void     mct_filtering_dbus_service_unregister (MctFilteringDBusService  *self);
      45                 :             : 
      46                 :             : gboolean mct_filtering_dbus_service_get_busy   (MctFilteringDBusService  *self);
      47                 :             : 
      48                 :             : G_END_DECLS
        

Generated by: LCOV version 2.0-1