aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/sqlitestudiocli/clicommandexecutor.h
blob: 0312e51ec13c6e54decca6d08fa32b4bd259212e (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 CLICOMMANDEXECUTOR_H
#define CLICOMMANDEXECUTOR_H

#include <QObject>
#include <QStringList>

class CliCommand;

class CliCommandExecutor : public QObject
{
    Q_OBJECT

    public:
        explicit CliCommandExecutor(QObject *parent = 0);

    signals:
        void executionComplete();

    public slots:
        void execCommand(CliCommand* cmd);

    private slots:
        void asyncExecutionComplete();
};

#endif // CLICOMMANDEXECUTOR_H