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 <gio/gio.h>
7 : :
8 : : #include "valent-message.h"
9 : : #include "valent-sms-store.h"
10 : :
11 : : G_BEGIN_DECLS
12 : :
13 : : #define VALENT_TYPE_MESSAGE_THREAD (valent_message_thread_get_type())
14 : :
15 [ + - + - : 12 : G_DECLARE_FINAL_TYPE (ValentMessageThread, valent_message_thread, VALENT, MESSAGE_THREAD, GObject)
+ + - + ]
16 : :
17 : : GListModel * valent_message_thread_new (ValentSmsStore *store,
18 : : int64_t id);
19 : :
20 : : ValentSmsStore * valent_message_thread_get_store (ValentMessageThread *thread);
21 : : int64_t valent_message_thread_get_id (ValentMessageThread *thread);
22 : : void valent_message_thread_set_id (ValentMessageThread *thread,
23 : : int64_t id);
24 : :
25 : : G_END_DECLS
|