LCOV - code coverage report
Current view: top level - src/libvalent/input - valent-input.h (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 1 1
Test Date: 2024-04-16 07:28:14 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-component.h"
      11                 :             : #include "valent-input-adapter.h"
      12                 :             : 
      13                 :             : G_BEGIN_DECLS
      14                 :             : 
      15                 :             : #define VALENT_TYPE_INPUT (valent_input_get_type ())
      16                 :             : 
      17                 :             : VALENT_AVAILABLE_IN_1_0
      18   [ +  -  +  -  :          70 : G_DECLARE_FINAL_TYPE (ValentInput, valent_input, VALENT, INPUT, ValentComponent)
                   -  + ]
      19                 :             : 
      20                 :             : VALENT_AVAILABLE_IN_1_0
      21                 :             : ValentInput * valent_input_get_default      (void);
      22                 :             : VALENT_AVAILABLE_IN_1_0
      23                 :             : void          valent_input_export_adapter   (ValentInput        *input,
      24                 :             :                                              ValentInputAdapter *adapter);
      25                 :             : VALENT_AVAILABLE_IN_1_0
      26                 :             : void          valent_input_unexport_adapter (ValentInput        *input,
      27                 :             :                                              ValentInputAdapter *adapter);
      28                 :             : VALENT_AVAILABLE_IN_1_0
      29                 :             : void          valent_input_keyboard_keysym  (ValentInput        *input,
      30                 :             :                                              uint32_t            keysym,
      31                 :             :                                              gboolean            state);
      32                 :             : VALENT_AVAILABLE_IN_1_0
      33                 :             : void          valent_input_pointer_axis     (ValentInput        *input,
      34                 :             :                                              double              dx,
      35                 :             :                                              double              dy);
      36                 :             : VALENT_AVAILABLE_IN_1_0
      37                 :             : void          valent_input_pointer_button   (ValentInput        *input,
      38                 :             :                                              unsigned int        button,
      39                 :             :                                              gboolean            state);
      40                 :             : VALENT_AVAILABLE_IN_1_0
      41                 :             : void          valent_input_pointer_motion   (ValentInput        *input,
      42                 :             :                                              double              dx,
      43                 :             :                                              double              dy);
      44                 :             : 
      45                 :             : G_END_DECLS
      46                 :             : 
        

Generated by: LCOV version 2.0-1