LCOV - code coverage report
Current view: top level - src/libvalent/contacts - valent-contacts-adapter.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 "../core/valent-extension.h"
      11                 :             : #include "valent-contact-store.h"
      12                 :             : 
      13                 :             : G_BEGIN_DECLS
      14                 :             : 
      15                 :             : #define VALENT_TYPE_CONTACTS_ADAPTER (valent_contacts_adapter_get_type())
      16                 :             : 
      17                 :             : VALENT_AVAILABLE_IN_1_0
      18   [ +  -  +  -  :          76 : G_DECLARE_DERIVABLE_TYPE (ValentContactsAdapter, valent_contacts_adapter, VALENT, CONTACTS_ADAPTER, ValentExtension)
                   +  - ]
      19                 :             : 
      20                 :             : struct _ValentContactsAdapterClass
      21                 :             : {
      22                 :             :   ValentExtensionClass  parent_class;
      23                 :             : 
      24                 :             :   /*< private >*/
      25                 :             :   gpointer              padding[8];
      26                 :             : };
      27                 :             : 
      28                 :             : VALENT_AVAILABLE_IN_1_0
      29                 :             : void   valent_contacts_adapter_store_added   (ValentContactsAdapter *adapter,
      30                 :             :                                               ValentContactStore    *store);
      31                 :             : VALENT_AVAILABLE_IN_1_0
      32                 :             : void   valent_contacts_adapter_store_removed (ValentContactsAdapter *adapter,
      33                 :             :                                               ValentContactStore    *store);
      34                 :             : 
      35                 :             : G_END_DECLS
      36                 :             : 
        

Generated by: LCOV version 2.0-1