parent
c39b9bd7d7
commit
5a1a5421b9
1
TODO
1
TODO
|
@ -24,7 +24,6 @@ Consider the following order to implement this todo:
|
|||
- coverart-lastfm
|
||||
- cover art local fs lookup
|
||||
7. Modular plugins (elm_module)
|
||||
- versioned
|
||||
- selection saved in eet
|
||||
- gui to select enabled plugins
|
||||
8. Save/Resume between runs (list, nowplaying and navigation)
|
||||
|
|
|
@ -38,6 +38,12 @@ static const Ecore_Getopt options = {
|
|||
}
|
||||
};
|
||||
|
||||
uint32_t
|
||||
enjoy_abi_version(void)
|
||||
{
|
||||
return ENJOY_ABI_VERSION;
|
||||
}
|
||||
|
||||
char *
|
||||
enjoy_cache_dir_get(void)
|
||||
{
|
||||
|
|
|
@ -45,6 +45,13 @@ struct _Enjoy_Player_Status {
|
|||
Eina_Bool endless:1;
|
||||
};
|
||||
|
||||
/**
|
||||
* When you're loaded use ENJOY_ABI_CHECK() to see if you're okay or not.
|
||||
*/
|
||||
#define ENJOY_ABI_VERSION (1U)
|
||||
EAPI uint32_t enjoy_abi_version(void) EINA_CONST;
|
||||
#define ENJOY_ABI_CHECK() (ENJOY_ABI_VERSION == enjoy_abi_version())
|
||||
|
||||
EAPI char *enjoy_cache_dir_get(void);
|
||||
EAPI Eina_Bool enjoy_repeat_get(void);
|
||||
EAPI int32_t enjoy_playlist_current_position_get(void);
|
||||
|
|
|
@ -91,6 +91,14 @@ fso_init(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (!ENJOY_ABI_CHECK())
|
||||
{
|
||||
ERR("ABI versions differ: enjoy=%u, fso=%u",
|
||||
enjoy_abi_version(), ENJOY_ABI_VERSION);
|
||||
eina_log_domain_unregister(_fso_log_domain);
|
||||
_fso_log_domain = -1;
|
||||
}
|
||||
|
||||
if (sysconn) return EINA_TRUE;
|
||||
|
||||
e_dbus_init();
|
||||
|
|
|
@ -246,6 +246,14 @@ mpris_init(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (!ENJOY_ABI_CHECK())
|
||||
{
|
||||
ERR("ABI versions differ: enjoy=%u, mpris=%u",
|
||||
enjoy_abi_version(), ENJOY_ABI_VERSION);
|
||||
eina_log_domain_unregister(_mpris_log_domain);
|
||||
_mpris_log_domain = -1;
|
||||
}
|
||||
|
||||
if (conn) return EINA_TRUE;
|
||||
e_dbus_init();
|
||||
conn = e_dbus_bus_get(DBUS_BUS_SESSION);
|
||||
|
|
Loading…
Reference in New Issue