diff options
| author | 2015-11-25 16:48:41 -0500 | |
|---|---|---|
| committer | 2015-11-25 16:48:41 -0500 | |
| commit | 8e640722c62692818ab840d50b3758f89a41a54e (patch) | |
| tree | 38197eb1688a5afc338081ea17e15f938976e422 /SQLiteStudio3/sqlitestudiocli/cli.h | |
| parent | 9618f0ebbf4b88045247c01ce8c8f58203508ebf (diff) | |
Imported Upstream version 3.0.7upstream/3.0.7
Diffstat (limited to 'SQLiteStudio3/sqlitestudiocli/cli.h')
| -rw-r--r-- | SQLiteStudio3/sqlitestudiocli/cli.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/SQLiteStudio3/sqlitestudiocli/cli.h b/SQLiteStudio3/sqlitestudiocli/cli.h index 6f7c927..12f391b 100644 --- a/SQLiteStudio3/sqlitestudiocli/cli.h +++ b/SQLiteStudio3/sqlitestudiocli/cli.h @@ -20,6 +20,7 @@ class CLI : public QObject ~CLI(); static CLI* getInstance(); + static void dispose(); void start(); void setCurrentDb(Db* db); @@ -48,8 +49,10 @@ class CLI : public QObject bool doExit = false; QString line; - signals: - void execCommand(CliCommand* cmd); + private slots: + void printInfo(const QString& msg); + void printWarn(const QString& msg); + void printError(const QString& msg); public slots: void doWork(); @@ -57,6 +60,9 @@ class CLI : public QObject void executionComplete(); void clearHistory(); void openDbFile(const QString& path); + + signals: + void execCommand(CliCommand* cmd); }; #endif // CLI_H |
