LCOV - code coverage report
Current view: top level - src/plugins/sms - valent-sms-conversation-row.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                 :             : #include <gtk/gtk.h>
       7                 :             : #include <valent.h>
       8                 :             : 
       9                 :             : #include "valent-message.h"
      10                 :             : 
      11                 :             : G_BEGIN_DECLS
      12                 :             : 
      13                 :             : #define VALENT_TYPE_SMS_CONVERSATION_ROW (valent_sms_conversation_row_get_type())
      14                 :             : 
      15   [ +  -  +  -  :          60 : G_DECLARE_FINAL_TYPE (ValentSmsConversationRow, valent_sms_conversation_row, VALENT, SMS_CONVERSATION_ROW, GtkListBoxRow)
                   -  + ]
      16                 :             : 
      17                 :             : GtkWidget     * valent_sms_conversation_row_new           (ValentMessage            *message,
      18                 :             :                                                            EContact                 *contact);
      19                 :             : int             valent_sms_conversation_row_collate       (ValentSmsConversationRow *row1,
      20                 :             :                                                            ValentSmsConversationRow *row2);
      21                 :             : 
      22                 :             : EContact      * valent_sms_conversation_row_get_contact   (ValentSmsConversationRow *row);
      23                 :             : void            valent_sms_conversation_row_set_contact   (ValentSmsConversationRow *row,
      24                 :             :                                                            EContact                 *contact);
      25                 :             : int64_t         valent_sms_conversation_row_get_date      (ValentSmsConversationRow *row);
      26                 :             : int64_t         valent_sms_conversation_row_get_id        (ValentSmsConversationRow *row);
      27                 :             : ValentMessage * valent_sms_conversation_row_get_message   (ValentSmsConversationRow *row);
      28                 :             : void            valent_sms_conversation_row_set_message   (ValentSmsConversationRow *row,
      29                 :             :                                                            ValentMessage            *message);
      30                 :             : gboolean        valent_sms_conversation_row_is_incoming   (ValentSmsConversationRow *row);
      31                 :             : void            valent_sms_conversation_row_update        (ValentSmsConversationRow *row);
      32                 :             : void            valent_sms_conversation_row_show_avatar   (ValentSmsConversationRow *row,
      33                 :             :                                                            gboolean                  visible);
      34                 :             : 
      35                 :             : G_END_DECLS
      36                 :             : 
        

Generated by: LCOV version 2.0-1