mirror-chatterino2/src/widgets/FramelessEmbedWindow.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
612 B
C++
Raw Normal View History

#pragma once
#include "widgets/BaseWindow.hpp"
namespace chatterino {
class Split;
class FramelessEmbedWindow : public BaseWindow
{
public:
FramelessEmbedWindow();
protected:
#ifdef USEWINSDK
# if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
bool nativeEvent(const QByteArray &eventType, void *message,
qintptr *result) override;
# else
bool nativeEvent(const QByteArray &eventType, void *message,
long *result) override;
# endif
void showEvent(QShowEvent *event) override;
#endif
private:
Split *split_{};
};
} // namespace chatterino