[libcalamares] Remove convenience API

This commit is contained in:
Adriaan de Groot 2019-05-03 11:35:13 -04:00
parent 44cbb0d374
commit 7899ab83f9
2 changed files with 0 additions and 17 deletions

View File

@ -74,13 +74,6 @@ Handler::Handler( const QString& implementation, const QString& url, const QStri
}
}
Handler::Handler( const QVariantMap& config )
: Handler( CalamaresUtils::getString( config, QStringLiteral( "style" ) ),
CalamaresUtils::getString( config, QStringLiteral( "url" ) ),
CalamaresUtils::getString( config, QStringLiteral( "selector" ) ) )
{
}
Handler::~Handler()
{
}

View File

@ -56,16 +56,6 @@ public:
* is used to select something from the data returned by the @url.
*/
Handler( const QString& implementation, const QString& url, const QString& selector );
/** @brief A handler for a specific GeoIP source.
*
* This is like the 3-QString Handler constructor, except the strings
* are extracted from the map, which is typically part of the configuration
* of a Calamares module. The strings are fetched from these keys:
* - implementation from "style"
* - url from "url"
* - selector from "selector"
*/
Handler( const QVariantMap& config );
~Handler();