From 20b9f2b42a3b58b6081af271774fbcc34025dccb Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sun, 25 Jul 2021 19:11:59 +0200 Subject: NOISSUE Flatten gui and logic libraries into MultiMC --- launcher/KonamiCode.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 launcher/KonamiCode.h (limited to 'launcher/KonamiCode.h') diff --git a/launcher/KonamiCode.h b/launcher/KonamiCode.h new file mode 100644 index 00000000..3d320ae7 --- /dev/null +++ b/launcher/KonamiCode.h @@ -0,0 +1,17 @@ +#pragma once + +#include + +class KonamiCode : public QObject +{ + Q_OBJECT +public: + KonamiCode(QObject *parent = 0); + void input(QEvent *event); + +signals: + void triggered(); + +private: + int m_progress = 0; +}; -- cgit