Warning, file /games/ksirk/ksirk/mainMenu.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /* This file is part of KsirK.
0002    Copyright (C) 2008 Guillaume Pelouas <pelouas@hotmail.fr>
0003 
0004    KsirK is free software; you can redistribute it and/or
0005    modify it under the terms of the GNU General Public
0006    License as published by the Free Software Foundation, either version 2
0007    of the License, or (at your option) any later version.
0008 
0009    This program is distributed in the hope that it will be useful,
0010    but WITHOUT ANY WARRANTY; without even the implied warranty of
0011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0012    General Public License for more details.
0013 
0014    You should have received a copy of the GNU General Public License
0015    along with this program; if not, write to the Free Software
0016    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
0017    02110-1301, USA
0018 */
0019 
0020 /* begin                : Fri  21 2007 */
0021 
0022 #ifndef MAINMENU_H
0023 #define MAINMENU_H
0024 
0025 #include "ui_mainMenu.h"
0026 
0027 #include "KsirkGlobalDefinitions.h"
0028 
0029 #include <QWidget>
0030 
0031 
0032 namespace Ksirk
0033 {
0034   class KGameWindow;
0035   namespace GameLogic
0036   {
0037     class ONU;
0038   }
0039 }
0040 
0041 /**
0042   * The mainMenu class is the widget displayed in the main window
0043   */
0044 class mainMenu : public QWidget, public Ui::MainMenu
0045 {
0046   Q_OBJECT
0047 
0048 public:
0049   explicit mainMenu(Ksirk::KGameWindow* game, QWidget* parent = nullptr);
0050 
0051   ~mainMenu() override {}
0052 
0053   void init(Ksirk::GameLogic::ONU* theWorld);
0054 };
0055 
0056 
0057 #endif