aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/sqlitestudiocli/commands/clicommandhistory.h
blob: f2e07d0d4cd68592c4013f661009ba5c2e66066d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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