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 <adwaita.h>
7 : : #include <gtk/gtk.h>
8 : : #include <valent.h>
9 : :
10 : : #include "valent-message.h"
11 : : #include "valent-sms-store.h"
12 : :
13 : : G_BEGIN_DECLS
14 : :
15 : : #define VALENT_TYPE_SMS_WINDOW (valent_sms_window_get_type())
16 : :
17 [ + - + - : 10 : G_DECLARE_FINAL_TYPE (ValentSmsWindow, valent_sms_window, VALENT, SMS_WINDOW, AdwApplicationWindow)
- + ]
18 : :
19 : : ValentContactStore * valent_sms_window_get_contact_store (ValentSmsWindow *window);
20 : : void valent_sms_window_set_contact_store (ValentSmsWindow *window,
21 : : ValentContactStore *store);
22 : : ValentSmsStore * valent_sms_window_get_message_store (ValentSmsWindow *window);
23 : :
24 : : void valent_sms_window_search_contacts (ValentSmsWindow *window,
25 : : const char *query);
26 : : void valent_sms_window_search_messages (ValentSmsWindow *window,
27 : : const char *query);
28 : :
29 : : void valent_sms_window_set_active_address (ValentSmsWindow *window,
30 : : const char *address,
31 : : EContact *contact);
32 : :
33 : : void valent_sms_window_set_active_message (ValentSmsWindow *window,
34 : : ValentMessage *message);
35 : : void valent_sms_window_set_active_thread (ValentSmsWindow *window,
36 : : int64_t thread_id);
37 : :
38 : : void valent_sms_window_reset_search (ValentSmsWindow *window);
39 : :
40 : : G_END_DECLS
|