Move log parent and connection property binding to helper

Continues removing usage of MMBaseModem in a bunch of files
by splitting out bits of its usage to separate interfaces.

Signed-off-by: Dan Williams <dan@ioncontrol.co>
This commit is contained in:
Dan Williams
2025-05-08 20:08:06 -05:00
parent ef5cee3ab5
commit ec5104c9a8
55 changed files with 376 additions and 75 deletions
@@ -31,6 +31,7 @@
#include "mm-modem-helpers.h"
#include "mm-modem-helpers-huawei.h"
#include "mm-daemon-enums-types.h"
#include "mm-bind.h"
G_DEFINE_TYPE (MMBroadbandBearerHuawei, mm_broadband_bearer_huawei, MM_TYPE_BROADBAND_BEARER)
@@ -841,6 +842,7 @@ mm_broadband_bearer_huawei_new (MMBroadbandModemHuawei *modem,
callback,
user_data,
MM_BASE_BEARER_MODEM, modem,
MM_BIND_TO, modem,
MM_BASE_BEARER_CONFIG, config,
NULL);
}
@@ -3881,6 +3881,7 @@ create_call (MMIfaceModemVoice *self,
const gchar *number)
{
return mm_base_call_new (MM_BASE_MODEM (self),
G_OBJECT (self),
direction,
number,
TRUE, /* skip_incoming_timeout */
+2
View File
@@ -27,6 +27,7 @@
#include <libmm-glib.h>
#include "mm-modem-helpers.h"
#include "mm-base-modem-at.h"
#include "mm-bind.h"
#include "mm-sim-huawei.h"
@@ -148,6 +149,7 @@ mm_sim_huawei_new (MMBaseModem *modem,
callback,
user_data,
MM_BASE_SIM_MODEM, modem,
MM_BIND_TO, G_OBJECT (modem),
"active", TRUE, /* by default always active */
NULL);
}