Permalink
Showing
with
0 additions
and
22 deletions.
-
+0
−19
src/gui/src/CoreInterface.cpp
-
+0
−3
src/gui/src/CoreInterface.h
|
|
@@ -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 = "");
|
|
|
};
|
0 comments on commit
98610fa