When it is necessary for one plugin to use an interface provided by another plugin, please use a consistent approach of ordering by either "startuporder" options, or Initialiser services. Do not solve it like below as it doesn't consider the second plugin having own dependencies:
|
if ((Utils::getServiceState(service, USERSETTINGS_CALLSIGN, state) == Core::ERROR_NONE) && (state != PluginHost::IShell::state::ACTIVATED)) |
|
Utils::activatePlugin(service, USERSETTINGS_CALLSIGN); |