LCOV - code coverage report
Current view: top level - src/libvalent/device - valent-device-transfer.h (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 1 1
Test Date: 2024-05-12 19:03:18 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 <json-glib/json-glib.h>
      11                 :             : 
      12                 :             : #include "../core/valent-transfer.h"
      13                 :             : #include "valent-device.h"
      14                 :             : 
      15                 :             : G_BEGIN_DECLS
      16                 :             : 
      17                 :             : #define VALENT_TYPE_DEVICE_TRANSFER (valent_device_transfer_get_type())
      18                 :             : 
      19                 :             : VALENT_AVAILABLE_IN_1_0
      20   [ +  -  +  -  :          61 : G_DECLARE_FINAL_TYPE (ValentDeviceTransfer, valent_device_transfer, VALENT, DEVICE_TRANSFER, ValentTransfer)
                   -  + ]
      21                 :             : 
      22                 :             : VALENT_AVAILABLE_IN_1_0
      23                 :             : ValentTransfer * valent_device_transfer_new        (ValentDevice         *device,
      24                 :             :                                                     JsonNode             *packet,
      25                 :             :                                                     GFile                *file);
      26                 :             : VALENT_AVAILABLE_IN_1_0
      27                 :             : ValentDevice   * valent_device_transfer_ref_device (ValentDeviceTransfer *transfer);
      28                 :             : VALENT_AVAILABLE_IN_1_0
      29                 :             : GFile          * valent_device_transfer_ref_file   (ValentDeviceTransfer *transfer);
      30                 :             : VALENT_AVAILABLE_IN_1_0
      31                 :             : JsonNode       * valent_device_transfer_ref_packet (ValentDeviceTransfer *transfer);
      32                 :             : 
      33                 :             : G_END_DECLS
        

Generated by: LCOV version 2.0-1