Main class for abstracta application. More...
#include <abstractapril.h>
Static Public Member Functions | |
static int | runMainLoop (const QStringList &sl_init_files) |
enter main loop; return program exit code | |
static int | executeCommands (const QString &cmds) |
execute the list of commands separated by && then exit | |
static int | executeFile (const QString &cmds) |
execute the list of commands in the file then exit | |
static bool | addCommand (const QString &s_cmd, cmdCallBack kb) |
add a command to the list; returns false if the string is in use | |
static bool | remCommand (const QString &s_cmd, cmdCallBack kb) |
remove a command to from list; returns false if not found or don't match | |
static QStringList | commands (void) |
the list of registered commands | |
static void | execute (const QString &s_input) |
execute the command associated with the given string | |
static bool | addModule (AprilModule *m) |
add an module; appends module's list of commands and appends the module | |
static bool | remModule (AprilModule *m) |
add an module; removes module's list of commands and removes the module | |
static QStringList | modules (void) |
the list of registered modules |
Main class for abstracta application.