Implemented rest of status plugin, only external networking script is still missing
[mtetherd] / plugin.h
index ec81da2..a7b8f40 100644 (file)
--- a/plugin.h
+++ b/plugin.h
@@ -21,7 +21,9 @@
 #ifndef _MTETHERD_STATUS_H
 #define _MTETHERD_STATUS_H
 
+#include <libhal.h>
 #include <libhildondesktop/libhildondesktop.h>
+#include "net.h"
 
 G_BEGIN_DECLS
 
@@ -49,6 +51,13 @@ struct _MTetherDStatusPlugin {
 
 GType mtetherd_status_plugin_get_type();
 
+// Network device creation callback
+void mtetherd_status_plugin_device_added(MTetherDStatusPlugin *plugin, MTetherDDevice *device);
+// Network device removal callback
+void mtetherd_status_plugin_device_removed(MTetherDStatusPlugin *plugin, const gchar *udi);
+// Signals a USB connection or disconnection event
+void mtetherd_status_plugin_usb_plugged(MTetherDStatusPlugin *plugin);
+
 G_END_DECLS
 
 #endif //_MTETHERD_STATUS_H