blob: e16ef0b9b90c02fafdf94bf02289057cf96845fe [file] [log] [blame]
Stepan Salenikovich76c33e62015-05-22 12:24:07 -04001/*
Guillaume Roguez2a6150d2017-07-19 18:24:47 -04002 * Copyright (C) 2015-2017 Savoir-faire Linux Inc.
Stepan Salenikovich76c33e62015-05-22 12:24:07 -04003 * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Stepan Salenikovich76c33e62015-05-22 12:24:07 -040018 */
19
20#ifndef RING_NOTIFY_H_
21#define RING_NOTIFY_H_
22
Stepan Salenikovich67112d12015-06-16 16:57:06 -040023#include <gtk/gtk.h>
24#include "ring_client.h"
Stepan Salenikovich76c33e62015-05-22 12:24:07 -040025
26class Call;
Stepan Salenikovich26cd1602016-01-20 13:43:17 -050027class ContactMethod;
Stepan Salenikovich5a127672016-09-13 11:19:50 -040028namespace Media {
29class TextRecording;
30}
Stepan Salenikovich76c33e62015-05-22 12:24:07 -040031
32G_BEGIN_DECLS
33
34void ring_notify_init();
35void ring_notify_uninit();
36gboolean ring_notify_is_initted();
Stepan Salenikovich5a127672016-09-13 11:19:50 -040037gboolean ring_notify_incoming_call(Call*);
38void ring_notify_message(ContactMethod*, Media::TextRecording*, RingClient*);
39gboolean ring_notify_close_chat_notification(ContactMethod*);
Stepan Salenikovich76c33e62015-05-22 12:24:07 -040040
41G_END_DECLS
42
43#endif /* RING_NOTIFY_H_ */