LCOV - code coverage report
Current view: top level - src/libvalent/session - valent-session.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-component.h"
      11                 :             : 
      12                 :             : G_BEGIN_DECLS
      13                 :             : 
      14                 :             : #define VALENT_TYPE_SESSION (valent_session_get_type ())
      15                 :             : 
      16                 :             : VALENT_AVAILABLE_IN_1_0
      17   [ +  -  +  -  :          24 : G_DECLARE_FINAL_TYPE (ValentSession, valent_session, VALENT, SESSION, ValentComponent)
                   -  + ]
      18                 :             : 
      19                 :             : VALENT_AVAILABLE_IN_1_0
      20                 :             : ValentSession * valent_session_get_default (void);
      21                 :             : 
      22                 :             : VALENT_AVAILABLE_IN_1_0
      23                 :             : gboolean        valent_session_get_active  (ValentSession *session);
      24                 :             : VALENT_AVAILABLE_IN_1_0
      25                 :             : gboolean        valent_session_get_locked  (ValentSession *session);
      26                 :             : VALENT_AVAILABLE_IN_1_0
      27                 :             : void            valent_session_set_locked  (ValentSession *session,
      28                 :             :                                             gboolean       state);
      29                 :             : 
      30                 :             : G_END_DECLS
      31                 :             : 
        

Generated by: LCOV version 2.0-1