mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
Once upon a time, we needed the UI-specific event loops outside of the UI process. This is no longer the case. Let's move the event loops back to the UI folder to remove the awkward interface library we were left with.
21 lines
333 B
C++
21 lines
333 B
C++
/*
|
|
* Copyright (c) 2023, Gregory Bertilson <zaggy1024@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QEvent>
|
|
#include <QObject>
|
|
|
|
namespace Ladybird {
|
|
|
|
class EventLoopImplementationQtEventTarget final : public QObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
virtual bool event(QEvent* event) override;
|
|
};
|
|
|
|
}
|