LCOV - code coverage report
Current view: top level - src/libvalent/media - valent-media.h (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 1 1
Test Date: 2024-04-23 06:02:46 Functions: 100.0 % 1 1
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 50.0 % 6 3

             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 <gio/gio.h>
      11                 :             : 
      12                 :             : #include "../core/valent-component.h"
      13                 :             : #include "valent-media-player.h"
      14                 :             : 
      15                 :             : G_BEGIN_DECLS
      16                 :             : 
      17                 :             : #define VALENT_TYPE_MEDIA (valent_media_get_type ())
      18                 :             : 
      19                 :             : VALENT_AVAILABLE_IN_1_0
      20   [ +  -  +  -  :         133 : G_DECLARE_FINAL_TYPE (ValentMedia, valent_media, VALENT, MEDIA, ValentComponent)
                   -  + ]
      21                 :             : 
      22                 :             : VALENT_AVAILABLE_IN_1_0
      23                 :             : ValentMedia * valent_media_get_default     (void);
      24                 :             : VALENT_AVAILABLE_IN_1_0
      25                 :             : void          valent_media_export_player   (ValentMedia       *media,
      26                 :             :                                             ValentMediaPlayer *player);
      27                 :             : VALENT_AVAILABLE_IN_1_0
      28                 :             : void          valent_media_unexport_player (ValentMedia       *media,
      29                 :             :                                             ValentMediaPlayer *player);
      30                 :             : VALENT_AVAILABLE_IN_1_0
      31                 :             : void          valent_media_pause           (ValentMedia       *media);
      32                 :             : VALENT_AVAILABLE_IN_1_0
      33                 :             : void          valent_media_unpause         (ValentMedia       *media);
      34                 :             : 
      35                 :             : G_END_DECLS
      36                 :             : 
        

Generated by: LCOV version 2.0-1