1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-17 16:05: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-application.h"
#include "calls-contacts-provider.h" #include "calls-contacts-provider.h"
#include "calls-manager.h" #include "calls-manager.h"
#include "calls-message-source.h"
#include "calls-provider.h" #include "calls-provider.h"
#include "calls-settings.h" #include "calls-settings.h"
#include "calls-ussd.h" #include "calls-ussd.h"
@ -60,7 +61,14 @@ struct _CallsManager
CallsSettings *settings; 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 { enum {
PROP_0, PROP_0,