File indexing completed on 2024-12-08 03:46:02
0001 /* 0002 This file is part of the KDE games kwin4 program 0003 SPDX-FileCopyrightText: 2022 Friedrich W. H. Kossebau <kossebau@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef KWIN4_GAMESEQUENCE_H 0009 #define KWIN4_GAMESEQUENCE_H 0010 0011 // KDEGames 0012 #define USE_UNSTABLE_LIBKDEGAMESPRIVATE_API 0013 #include <libkdegamesprivate/kgame/kgamesequence.h> 0014 0015 class KWin4Doc; 0016 0017 class KWin4GameSequence : public KGameSequence 0018 { 0019 Q_OBJECT 0020 0021 public: 0022 explicit KWin4GameSequence(KWin4Doc *game); 0023 ~KWin4GameSequence() override; 0024 0025 public: 0026 KPlayer *nextPlayer(KPlayer *last, bool exclusive = true) override; 0027 int checkGameOver(KPlayer *player) override; 0028 0029 private: 0030 KWin4Doc *const m_game; 0031 }; 0032 0033 #endif