LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
LimaMainTaskRunner.h
Go to the documentation of this file.
1// Copyright 2014 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6#ifndef LIMA_LIMAMAINTASKRUNNER_H
7#define LIMA_LIMAMAINTASKRUNNER_H
8
9#include "common/LimaCommon.h"
10#include <QObject>
11
12namespace Lima {
13
44{
45 Q_OBJECT
46public:
47 LimaMainTaskRunner(int aargc, char** aargv, int (*foo)(int, char**), QObject *parent = 0);
49
50public Q_SLOTS:
51 void run();
52
53Q_SIGNALS:
54 void finished(int);
55
56private:
57 int argc;
58 char** argv;
59 int (*foo)(int, char**);
60};
61
62}
63
64#endif
#define LIMA_COMMONTOOLS_EXPORT
Definition LimaCommon.h:134
This class allows to run a function (obtained through a function pointer) inside the Qt event loop,...
int run(int aargc, char **aargv)
Definition main.cpp:31
NAUTITIA.