| 1 | /* |
| 2 | =========================================================================== |
| 3 | blockattack - Block Attack - Rise of the Blocks |
| 4 | Copyright (C) 2005-2018 Poul Sander |
| 5 | This program is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by |
| 7 | the Free Software Foundation, either version 2 of the License, or |
| 8 | (at your option) any later version. |
| 9 | This program is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. |
| 13 | You should have received a copy of the GNU General Public License |
| 14 | along with this program. If not, see http://www.gnu.org/licenses/ |
| 15 | Source information and contacts persons can be found at |
| 16 | https://blockattack.net |
| 17 | =========================================================================== |
| 18 | */ |
| 19 | |
| 20 | #ifndef SHOWFILESTATE_HPP |
| 21 | #define SHOWFILESTATE_HPP |
| 22 | |
| 23 | |
| 24 | #include "HelpCommon.hpp" |
| 25 | #include "sago/SagoTextField.hpp" |
| 26 | #include "sago/SagoTextBox.hpp" |
| 27 | #include "sago/SagoMisc.hpp" |
| 28 | #include <string> |
| 29 | #include "common.h" |
| 30 | |
| 31 | class ShowFileState : public HelpTextBoxState { |
| 32 | public: |
| 33 | ShowFileState(); |
| 34 | ShowFileState(const ShowFileState& orig) = delete; |
| 35 | virtual ~ShowFileState(); |
| 36 | |
| 37 | void SetData(const std::string& filename, const std::string& header); |
| 38 | }; |
| 39 | |
| 40 | #endif /* SHOWFILESTATE_HPP */ |
| 41 |