mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-14 00:17:35 +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:
parent
6de5e9a54c
commit
6d877fd9d3
1 changed files with 9 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue