LCOV - code coverage report
Current view: top level - src/libvalent/device - valent-device-manager.h (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 1 1
Test Date: 2024-05-12 19:03:18 Functions: 100.0 % 1 1
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 66.7 % 6 4

             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                 :             : #pragma once
       5                 :             : 
       6                 :             : #if !defined (VALENT_INSIDE) && !defined (VALENT_COMPILATION)
       7                 :             : # error "Only <valent.h> can be included directly."
       8                 :             : #endif
       9                 :             : 
      10                 :             : #include "../core/valent-application-plugin.h"
      11                 :             : 
      12                 :             : G_BEGIN_DECLS
      13                 :             : 
      14                 :             : #define VALENT_TYPE_DEVICE_MANAGER (valent_device_manager_get_type())
      15                 :             : 
      16                 :             : VALENT_AVAILABLE_IN_1_0
      17   [ +  +  +  -  :         236 : G_DECLARE_FINAL_TYPE (ValentDeviceManager, valent_device_manager, VALENT, DEVICE_MANAGER, ValentApplicationPlugin)
                   -  + ]
      18                 :             : 
      19                 :             : VALENT_AVAILABLE_IN_1_0
      20                 :             : ValentDeviceManager * valent_device_manager_get_default (void);
      21                 :             : 
      22                 :             : VALENT_AVAILABLE_IN_1_0
      23                 :             : const char          * valent_device_manager_get_name    (ValentDeviceManager  *manager);
      24                 :             : VALENT_AVAILABLE_IN_1_0
      25                 :             : void                  valent_device_manager_set_name    (ValentDeviceManager  *manager,
      26                 :             :                                                          const char           *name);
      27                 :             : VALENT_AVAILABLE_IN_1_0
      28                 :             : void                  valent_device_manager_refresh     (ValentDeviceManager  *manager);
      29                 :             : 
      30                 :             : G_END_DECLS
        

Generated by: LCOV version 2.0-1