LCOV - code coverage report
Current view: top level - src/plugins/mpris - valent-mpris-impl.h (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 1 1
Test Date: 2024-12-21 23:29:11 Functions: 100.0 % 1 1
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 58.3 % 12 7

             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_IMPL (valent_mpris_impl_get_type())
      11                 :             : 
      12   [ +  -  +  -  :         365 : G_DECLARE_FINAL_TYPE (ValentMPRISImpl, valent_mpris_impl, VALENT, MPRIS_IMPL, GObject)
          +  +  +  -  +  
                -  +  - ]
      13                 :             : 
      14                 :             : ValentMPRISImpl * valent_mpris_impl_new           (ValentMediaPlayer    *player);
      15                 :             : gboolean          valent_mpris_impl_export        (ValentMPRISImpl      *impl,
      16                 :             :                                                    GDBusConnection      *connection,
      17                 :             :                                                    GError              **error);
      18                 :             : void              valent_mpris_impl_export_full   (ValentMPRISImpl      *impl,
      19                 :             :                                                    const char           *bus_name,
      20                 :             :                                                    GCancellable         *cancellable,
      21                 :             :                                                    GAsyncReadyCallback   callback,
      22                 :             :                                                    gpointer              user_data);
      23                 :             : gboolean          valent_mpris_impl_export_finish (ValentMPRISImpl      *impl,
      24                 :             :                                                    GAsyncResult         *result,
      25                 :             :                                                    GError              **error);
      26                 :             : void              valent_mpris_impl_unexport      (ValentMPRISImpl      *impl);
      27                 :             : 
      28                 :             : G_END_DECLS
      29                 :             : 
        

Generated by: LCOV version 2.0-1