#ifndef _Manual_h_ #define _Manual_h_ /* Manual.h * * Copyright (C) 1996-2005,2007,2009-2012,2015-2018,2020,2022,2023 Paul Boersma * * This code is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This code is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this work. If not, see . */ #include "HyperPage.h" #include "ManPages.h" Thing_define (Manual, HyperPage) { ManPages manPages() { return static_cast (our data()); } Interpreter optionalInterpreterReference; bool ownManPages; integer visiblePageNumber; GuiText searchText; GuiButton homeButton, recordButton, playButton, publishButton; int numberOfMatches; integer matches [1 + 20], fromPage, toPage; bool suppressLinksHither; conststring32 printPagesStartingWith; void v9_destroy () noexcept override; bool v_scriptable () override { return false; } void v_createChildren () override; void v_createMenus () override; bool v_canReportSettings () override { return false; } void v_createMenuItems_help (EditorMenu menu) override; void v_draw () override; void v_defaultHeaders (EditorCommand cmd) override; integer v_getNumberOfPages () override; integer v_getCurrentPageNumber () override; int v_goToPage (conststring32 title) override; void v_goToPage_number (integer goToPageNumber) override; bool v_hasHistory () override { return true; } bool v_isOrdered () override { return true; } }; autoManual Manual_create (conststring32 openingPageTitle, Interpreter optionalInterpreterReference, ManPages manPages, bool ownManPages, bool backquoteIsVerbatim); void Manual_search (Manual me, conststring32 query); /* End of file Manual.h */ #endif