From 7167ce41b61d2ba2cdb526777a4233eb84a3b66a Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 6 Dec 2014 17:33:25 -0500 Subject: Imported Upstream version 2.99.6 --- .../sqlitestudiocli/commands/clicommandhistory.h | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 SQLiteStudio3/sqlitestudiocli/commands/clicommandhistory.h (limited to 'SQLiteStudio3/sqlitestudiocli/commands/clicommandhistory.h') diff --git a/SQLiteStudio3/sqlitestudiocli/commands/clicommandhistory.h b/SQLiteStudio3/sqlitestudiocli/commands/clicommandhistory.h new file mode 100644 index 0000000..f2e07d0 --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/commands/clicommandhistory.h @@ -0,0 +1,26 @@ +#ifndef CLICOMMANDHISTORY_H +#define CLICOMMANDHISTORY_H + +#include "clicommand.h" + +class CliCommandHistory : public CliCommand +{ + public: + void execute(); + QString shortHelp() const; + QString fullHelp() const; + void defineSyntax(); + + private: + enum ArgIds + { + OPER_TYPE, + HIST_LIMIT, + SHOW_LIMIT + }; + + void clear(); + void setMax(const QString& arg); +}; + +#endif // CLICOMMANDHISTORY_H -- cgit v1.2.3