Skip to content
Snippets Groups Projects
Commit cb68ee56 authored by Xavier Jouslin de Noray's avatar Xavier Jouslin de Noray
Browse files

PluginEnabled: remove all unnecessary method to enabled plugin on client

Gitlab: #1382

Change-Id: I5fdef9bfcb5b400c3eefa776ec441b63b0847cca
parent 517f8782
No related branches found
No related tags found
No related merge requests found
......@@ -123,18 +123,6 @@ PluginManagerInterface::getChatHandlerDetails(const QString& chatHandlerId)
return convertMap(libjami::getChatHandlerDetails(chatHandlerId.toStdString()));
}
void
PluginManagerInterface::setPluginsEnabled(bool enable)
{
libjami::setPluginsEnabled(enable);
}
bool
PluginManagerInterface::getPluginsEnabled()
{
return libjami::getPluginsEnabled();
}
VectorMapStringString
PluginManagerInterface::getPluginPreferences(const QString& path, const QString& accountId)
{
......
......@@ -116,16 +116,6 @@ PluginManagerInterface::getChatHandlerDetails(const QString& chatHandlerId)
return {};
}
void
PluginManagerInterface::setPluginsEnabled(bool enable)
{}
bool
PluginManagerInterface::getPluginsEnabled()
{
return false;
}
VectorMapStringString
PluginManagerInterface::getPluginPreferences(const QString& path, const QString& accountId)
{
......
......@@ -79,10 +79,6 @@ public Q_SLOTS: // METHODS
MapStringString getChatHandlerDetails(const QString& chatHandlerId);
void setPluginsEnabled(bool enable);
bool getPluginsEnabled();
VectorMapStringString getPluginPreferences(const QString& path, const QString& accountId);
bool setPluginPreference(const QString& path,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment