/* ToolsMenu - Add tools to the Workbench Tools menu Copyright (C) 2015, 2018 Kim Fastrup Larsen This program 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 ver- sion 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be use- ful, but WITHOUT ANY WARRANTY; without even the implied war- ranty 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 Li- cense along with this program. If not, see . The author can be contacted on */ #include #include #ifdef USE_PRAGMAS #include #endif #include #define CATCOMP_NUMBERS #include "args.h" #include "broker.h" #include "catalog.h" #include "error.h" #include "gui.h" #include "strings.h" #include "toolrun.h" #include "wb.h" #define OS_REQUIRED 37 extern struct Library *SysBase; extern struct Library *DOSBase; char *version = "\0$VER: " TITLE " (" DATE ")"; struct Library *CxBase; struct Library *GadToolsBase; struct Library *IconBase; struct Library *IntuitionBase; struct Library *LocaleBase; struct Library *WorkbenchBase; static ULONG signals = SIGBREAKF_CTRL_C | SIGBREAKF_CTRL_F; static ULONG wb_signal, tr_signal, broker_signal, gui_signal; static void check_system_version(void) { if (SysBase->lib_Versionlib_Version