LCOV - code coverage report
Current view: top level - src/plugins/fdo - fdo-plugin.c (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 4 4
Test Date: 2024-11-16 20:34:14 Functions: 100.0 % 1 1
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : // SPDX-License-Identifier: GPL-3.0-or-later
       2                 :             : // SPDX-FileCopyrightText: Andy Holmes <andrew.g.r.holmes@gmail.com>
       3                 :             : 
       4                 :             : #include "config.h"
       5                 :             : 
       6                 :             : #include <libpeas.h>
       7                 :             : #include <valent.h>
       8                 :             : 
       9                 :             : #include "valent-fdo-notifications.h"
      10                 :             : #include "valent-fdo-session.h"
      11                 :             : 
      12                 :             : 
      13                 :             : _VALENT_EXTERN void
      14                 :           2 : valent_fdo_plugin_register_types (PeasObjectModule *module)
      15                 :             : {
      16                 :             :   /* Although notifications typically only make sense in a graphical
      17                 :             :    * environment, it is standard interface that one could implement for devices
      18                 :             :    * without a graphical display (i.e. home automation device). */
      19                 :           2 :   peas_object_module_register_extension_type (module,
      20                 :             :                                               VALENT_TYPE_NOTIFICATIONS_ADAPTER,
      21                 :             :                                               VALENT_TYPE_FDO_NOTIFICATIONS);
      22                 :             : 
      23                 :           2 :   peas_object_module_register_extension_type (module,
      24                 :             :                                               VALENT_TYPE_SESSION_ADAPTER,
      25                 :             :                                               VALENT_TYPE_FDO_SESSION);
      26                 :           2 : }
        

Generated by: LCOV version 2.0-1