From 4cbaf766f52c01c04672725e1a4864175a5d95e2 Mon Sep 17 00:00:00 2001 From: Guillaume Zajac Date: Wed, 13 Mar 2013 16:50:11 +0100 Subject: [PATCH] Call initializers from descriptor Change-Id: Id050dec2b42c7463f7feb16993a25fb011b1d1ff --- src/desc_at.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/desc_at.c b/src/desc_at.c index 326d6d7..99e9031 100644 --- a/src/desc_at.c +++ b/src/desc_at.c @@ -21,7 +21,17 @@ #include #include +#include "at_call.h" #include "at_ps.h" +#include "at_gps.h" +#include "at_modem.h" +#include "at_network.h" +#include "at_phonebook.h" +#include "at_sap.h" +#include "at_sat.h" +#include "at_sim.h" +#include "at_sms.h" +#include "at_ss.h" static gboolean on_load() { @@ -37,7 +47,18 @@ static gboolean on_init(TcorePlugin *p) dbg("i'm init!"); - if (at_ps_init(p) == FALSE) + if (at_ps_init(p) == FALSE + || at_call_init(p) == FALSE + || at_gps_init(p) == FALSE + || at_modem_init(p) == FALSE + || at_modem_init(p) == FALSE + || at_network_init(p) == FALSE + || at_phonebook_init(p) == FALSE + || at_sap_init(p) == FALSE + || at_sat_init(p) == FALSE + || at_sim_init(p) == FALSE + || at_sms_init(p) == FALSE + || at_ss_init(p) == FALSE) return FALSE; return TRUE; -- 2.7.4