20 #ifndef COMMANDLINEMANAGER_H 21 #define COMMANDLINEMANAGER_H 25 #include "commandlinehandler.h" 26 #include "qmmpui_export.h" 41 static QString executeCommand(
const QString &name,
const QStringList &args = QStringList());
45 static bool hasOption(
const QString &opt_str, CommandLineHandler::OptionFlags *flags =
nullptr);
49 static void printUsage();
54 static QString formatHelpString(
const QString &line);
57 static void checkOptions();
58 static QList<CommandLineHandler *> *m_options;
59 static QHash<CommandLineHandler*, QString> *m_files;
Helper class used for handle command line plugins.
Definition: commandlinemanager.h:32