LCOV - code coverage report
Current view: top level - glib/gio - gnativevolumemonitor.c (source / functions) Hit Total Coverage
Test: unnamed Lines: 10 10 100.0 %
Date: 2024-04-23 05:16:05 Functions: 6 6 100.0 %
Branches: 5 6 83.3 %

           Branch data     Line data    Source code
       1                 :            : /* GIO - GLib Input, Output and Streaming Library
       2                 :            :  *
       3                 :            :  * Copyright (C) 2006-2007 Red Hat, 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
      18                 :            :  * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
      19                 :            :  *
      20                 :            :  * Author: Alexander Larsson <alexl@redhat.com>
      21                 :            :  */
      22                 :            : 
      23                 :            : #include "config.h"
      24                 :            : 
      25                 :            : #include <string.h>
      26                 :            : 
      27                 :            : #include <glib.h>
      28                 :            : #include "gnativevolumemonitor.h"
      29                 :            : 
      30                 :            : 
      31   [ +  +  +  -  :        353 : G_DEFINE_ABSTRACT_TYPE (GNativeVolumeMonitor, g_native_volume_monitor, G_TYPE_VOLUME_MONITOR)
                   +  + ]
      32                 :            : 
      33                 :            : static void
      34                 :          1 : g_native_volume_monitor_finalize (GObject *object)
      35                 :            : {
      36                 :          1 :   G_OBJECT_CLASS (g_native_volume_monitor_parent_class)->finalize (object);
      37                 :          1 : }
      38                 :            : 
      39                 :            : 
      40                 :            : static void
      41                 :          2 : g_native_volume_monitor_class_init (GNativeVolumeMonitorClass *klass)
      42                 :            : {
      43                 :          2 :   GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
      44                 :            :   
      45                 :          2 :   gobject_class->finalize = g_native_volume_monitor_finalize;
      46                 :          2 : }
      47                 :            : 
      48                 :            : 
      49                 :            : static void
      50                 :          1 : g_native_volume_monitor_init (GNativeVolumeMonitor *native_monitor)
      51                 :            : {
      52                 :          1 : }

Generated by: LCOV version 1.14