LCOV - code coverage report
Current view: top level - src/libvalent/core - valent-component.h (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 1 1
Test Date: 2024-05-05 22:34:11 Functions: 100.0 % 1 1
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 50.0 % 8 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 <gio/gio.h>
      11                 :             : #include <libpeas.h>
      12                 :             : 
      13                 :             : #include "valent-object.h"
      14                 :             : 
      15                 :             : G_BEGIN_DECLS
      16                 :             : 
      17                 :             : #define VALENT_TYPE_COMPONENT (valent_component_get_type())
      18                 :             : 
      19                 :             : VALENT_AVAILABLE_IN_1_0
      20   [ +  -  +  -  :         683 : G_DECLARE_DERIVABLE_TYPE (ValentComponent, valent_component, VALENT, COMPONENT, ValentObject)
             +  -  +  - ]
      21                 :             : 
      22                 :             : struct _ValentComponentClass
      23                 :             : {
      24                 :             :   ValentObjectClass   parent_class;
      25                 :             : 
      26                 :             :   /* virtual functions */
      27                 :             :   void                (*bind_extension)   (ValentComponent *component,
      28                 :             :                                            GObject         *extension);
      29                 :             :   void                (*unbind_extension) (ValentComponent *component,
      30                 :             :                                            GObject         *extension);
      31                 :             :   void                (*bind_preferred)   (ValentComponent *component,
      32                 :             :                                            GObject         *extension);
      33                 :             : 
      34                 :             :   /*< private >*/
      35                 :             :   gpointer            padding[8];
      36                 :             : };
      37                 :             : 
      38                 :             : G_END_DECLS
      39                 :             : 
        

Generated by: LCOV version 2.0-1