2021-11-30 13:01:36 +00:00
|
|
|
/** @file
|
2013-08-08 00:26:57 +00:00
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-04-30 07:47:58 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2013-08-08 00:26:57 +00:00
|
|
|
|
|
|
|
#ifndef CAPTURE_FILTER_SYNTAX_WORKER_H
|
|
|
|
#define CAPTURE_FILTER_SYNTAX_WORKER_H
|
|
|
|
|
|
|
|
#include <QMutex>
|
|
|
|
#include <QObject>
|
|
|
|
#include <QWaitCondition>
|
|
|
|
|
|
|
|
class CaptureFilterSyntaxWorker : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
CaptureFilterSyntaxWorker(QObject *parent = 0) : QObject(parent) {}
|
|
|
|
|
|
|
|
public slots:
|
2021-04-04 13:09:50 +00:00
|
|
|
void checkFilter(const QString filter);
|
2013-08-08 00:26:57 +00:00
|
|
|
|
|
|
|
signals:
|
2016-01-01 17:00:19 +00:00
|
|
|
void syntaxResult(QString filter, int state, QString err_msg);
|
2013-08-08 00:26:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CAPTURE_FILTER_SYNTAX_WORKER_H
|