qt: Fix typo on filenames for RendererCommon

This commit is contained in:
ts-korhonen
2022-01-30 22:10:13 +02:00
parent 961df796bc
commit eec7339b8e
2 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#pragma once
#include <QRect>
#include <QImage>
#include <QEvent>
#include <vector>
#include <tuple>
#include <atomic>
class QWidget;
class RendererCommon
{
public:
RendererCommon();
void onResize(int width, int height);
virtual std::vector<std::tuple<uint8_t*, std::atomic_flag*>> getBuffers() = 0;
protected:
bool eventDelegate(QEvent* event, bool& result);
QRect source, destination;
QWidget* parentWidget{nullptr};
std::vector<std::atomic_flag> buf_usage;
};