aboutsummaryrefslogtreecommitdiff
path: root/plugins/icera
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/icera')
-rw-r--r--plugins/icera/mm-broadband-modem-icera.h2
-rw-r--r--plugins/icera/mm-shared.c20
2 files changed, 22 insertions, 0 deletions
diff --git a/plugins/icera/mm-broadband-modem-icera.h b/plugins/icera/mm-broadband-modem-icera.h
index 7826c661..cb88aaf5 100644
--- a/plugins/icera/mm-broadband-modem-icera.h
+++ b/plugins/icera/mm-broadband-modem-icera.h
@@ -42,8 +42,10 @@ struct _MMBroadbandModemIceraClass{
MMBroadbandModemClass parent;
};
+G_MODULE_EXPORT
GType mm_broadband_modem_icera_get_type (void);
+G_MODULE_EXPORT
MMBroadbandModemIcera *mm_broadband_modem_icera_new (const gchar *device,
const gchar **drivers,
const gchar *plugin,
diff --git a/plugins/icera/mm-shared.c b/plugins/icera/mm-shared.c
new file mode 100644
index 00000000..735d61bf
--- /dev/null
+++ b/plugins/icera/mm-shared.c
@@ -0,0 +1,20 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details:
+ *
+ * Copyright (C) 2019 Aleksander Morgado <aleksander@aleksander.es>
+ */
+
+#include "mm-shared.h"
+
+MM_SHARED_DEFINE_MAJOR_VERSION
+MM_SHARED_DEFINE_MINOR_VERSION
+MM_SHARED_DEFINE_NAME(Icera)