1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

manager: Implement message source interface

This allows the user interface to pick up messages by having them propagate
from the managed providers, origins, calls, etc.
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-12-28 14:43:54 +01:00
parent 6de5e9a54c
commit 6d877fd9d3

View file

@ -30,6 +30,7 @@
#include "calls-application.h"
#include "calls-contacts-provider.h"
#include "calls-manager.h"
#include "calls-message-source.h"
#include "calls-provider.h"
#include "calls-settings.h"
#include "calls-ussd.h"
@ -60,7 +61,14 @@ struct _CallsManager
CallsSettings *settings;
};
G_DEFINE_TYPE (CallsManager, calls_manager, G_TYPE_OBJECT);
static void
calls_manager_message_source_interface_init (CallsMessageSourceInterface *iface)
{
}
G_DEFINE_TYPE_WITH_CODE (CallsManager, calls_manager, G_TYPE_OBJECT,
G_IMPLEMENT_INTERFACE (CALLS_TYPE_MESSAGE_SOURCE,
calls_manager_message_source_interface_init))
enum {
PROP_0,