LCOV - code coverage report
Current view: top level - src/plugins/mpris - valent-mpris-device.h (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 1 1
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: 75.0 % 8 6

             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                 :             : #include <valent.h>
       7                 :             : 
       8                 :             : G_BEGIN_DECLS
       9                 :             : 
      10                 :             : #define VALENT_TYPE_MPRIS_DEVICE (valent_mpris_device_get_type())
      11                 :             : 
      12   [ +  -  +  -  :          22 : G_DECLARE_FINAL_TYPE (ValentMprisDevice, valent_mpris_device, VALENT, MPRIS_DEVICE, ValentMediaPlayer)
             +  +  +  + ]
      13                 :             : 
      14                 :             : ValentMprisDevice * valent_mpris_device_new             (ValentDevice         *player);
      15                 :             : void                valent_mpris_device_handle_packet   (ValentMprisDevice    *player,
      16                 :             :                                                          JsonNode             *packet);
      17                 :             : void                valent_mpris_device_update_art      (ValentMprisDevice    *player,
      18                 :             :                                                          GFile                *file);
      19                 :             : void                valent_mpris_device_update_name     (ValentMprisDevice    *player,
      20                 :             :                                                          const char           *name);
      21                 :             : 
      22                 :             : G_END_DECLS
      23                 :             : 
        

Generated by: LCOV version 2.0-1