#5657 Remove unused CoreInterfaces

This commit is contained in:
Andrew Nelless 2016-10-17 17:59:01 +01:00
parent fc67cdf56e
commit 98610fabde
2 changed files with 0 additions and 22 deletions

View File

@ -38,12 +38,6 @@ CoreInterface::CoreInterface()
{ {
} }
QString CoreInterface::getPluginDir()
{
QStringList args("--get-plugin-dir");
return run(args);
}
QString CoreInterface::getProfileDir() QString CoreInterface::getProfileDir()
{ {
QStringList args("--get-profile-dir"); QStringList args("--get-profile-dir");
@ -68,19 +62,6 @@ QString CoreInterface::getSerialKeyFilePath()
return filename; return filename;
} }
QString CoreInterface::activateSerial(const QString& serial)
{
QStringList args("--subscription-serial");
args << serial;
return run(args);
}
QString CoreInterface::checkSubscription()
{
QStringList args("--check-subscription");
return run(args);
}
QString CoreInterface::notifyActivation(const QString& identity) QString CoreInterface::notifyActivation(const QString& identity)
{ {

View File

@ -24,13 +24,10 @@ class CoreInterface
public: public:
CoreInterface(); CoreInterface();
QString getPluginDir();
QString getProfileDir(); QString getProfileDir();
QString getInstalledDir(); QString getInstalledDir();
QString getArch(); QString getArch();
QString getSerialKeyFilePath(); QString getSerialKeyFilePath();
QString activateSerial(const QString& serial);
QString checkSubscription();
QString notifyActivation(const QString& identity); QString notifyActivation(const QString& identity);
QString run(const QStringList& args, const QString& input = ""); QString run(const QStringList& args, const QString& input = "");
}; };