#5657 Remove unused CoreInterfaces
This commit is contained in:
parent
fc67cdf56e
commit
98610fabde
|
@ -38,12 +38,6 @@ CoreInterface::CoreInterface()
|
|||
{
|
||||
}
|
||||
|
||||
QString CoreInterface::getPluginDir()
|
||||
{
|
||||
QStringList args("--get-plugin-dir");
|
||||
return run(args);
|
||||
}
|
||||
|
||||
QString CoreInterface::getProfileDir()
|
||||
{
|
||||
QStringList args("--get-profile-dir");
|
||||
|
@ -68,19 +62,6 @@ QString CoreInterface::getSerialKeyFilePath()
|
|||
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)
|
||||
{
|
||||
|
|
|
@ -24,13 +24,10 @@ class CoreInterface
|
|||
public:
|
||||
CoreInterface();
|
||||
|
||||
QString getPluginDir();
|
||||
QString getProfileDir();
|
||||
QString getInstalledDir();
|
||||
QString getArch();
|
||||
QString getSerialKeyFilePath();
|
||||
QString activateSerial(const QString& serial);
|
||||
QString checkSubscription();
|
||||
QString notifyActivation(const QString& identity);
|
||||
QString run(const QStringList& args, const QString& input = "");
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue