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

           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 1.14