LCOV - code coverage report
Current view: top level - src/plugins/sms - valent-sms-conversation.h (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 1 1
Test Date: 2024-03-22 06:22:29 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                 :             : #include <gtk/gtk.h>
       7                 :             : #include <valent.h>
       8                 :             : 
       9                 :             : #include "valent-message.h"
      10                 :             : #include "valent-sms-store.h"
      11                 :             : 
      12                 :             : G_BEGIN_DECLS
      13                 :             : 
      14                 :             : #define VALENT_TYPE_SMS_CONVERSATION (valent_sms_conversation_get_type())
      15                 :             : 
      16   [ +  -  +  -  :          10 : G_DECLARE_FINAL_TYPE (ValentSmsConversation, valent_sms_conversation, VALENT, SMS_CONVERSATION, GtkWidget)
                   -  + ]
      17                 :             : 
      18                 :             : GtkWidget  * valent_sms_conversation_new               (ValentContactStore    *contacts,
      19                 :             :                                                         ValentSmsStore        *messages);
      20                 :             : 
      21                 :             : int64_t      valent_sms_conversation_get_thread_id     (ValentSmsConversation *conversation);
      22                 :             : void         valent_sms_conversation_set_thread_id     (ValentSmsConversation *conversation,
      23                 :             :                                                         int64_t                thread_id);
      24                 :             : const char * valent_sms_conversation_get_title         (ValentSmsConversation *conversation);
      25                 :             : const char * valent_sms_conversation_get_subtitle      (ValentSmsConversation *conversation);
      26                 :             : 
      27                 :             : void         valent_sms_conversation_scroll_to_date    (ValentSmsConversation *conversation,
      28                 :             :                                                         int64_t                date);
      29                 :             : void         valent_sms_conversation_scroll_to_message (ValentSmsConversation *conversation,
      30                 :             :                                                         ValentMessage         *message);
      31                 :             : 
      32                 :             : G_END_DECLS
        

Generated by: LCOV version 2.0-1