plugin: new method to compare plugins
Instead of providing a method to get if a plugin is requesting to get sorted last, we provide a way to comparing two plugins, compatible with the GCompareFunc required in g_list_sort().
This commit is contained in:
@@ -96,8 +96,9 @@ struct _MMPluginClass {
|
||||
|
||||
GType mm_plugin_get_type (void);
|
||||
|
||||
const char *mm_plugin_get_name (MMPlugin *plugin);
|
||||
gboolean mm_plugin_get_sort_last (const MMPlugin *plugin);
|
||||
const gchar *mm_plugin_get_name (MMPlugin *plugin);
|
||||
gint mm_plugin_cmp (const MMPlugin *plugin_a,
|
||||
const MMPlugin *plugin_b);
|
||||
|
||||
void mm_plugin_supports_port (MMPlugin *plugin,
|
||||
GObject *device,
|
||||
|
Reference in New Issue
Block a user