1#############################################################################
2##
3##  init.g               IO-package
4##                                                           Max Neunhoeffer
5##
6##  Copyright (C) by Max Neunhoeffer
7##  This file is free software, see license information at the end.
8##
9##  Initialization of the IO package
10##
11
12################################
13# First look after our C part: #
14################################
15
16# load kernel function if it is installed:
17if (not IsBound(IO)) and ("io" in SHOW_STAT()) then
18  # try static module
19  LoadStaticModule("io");
20fi;
21if (not IsBound(IO)) and
22   (Filename(DirectoriesPackagePrograms("io"), "io.so") <> fail) then
23  LoadDynamicModule(Filename(DirectoriesPackagePrograms("io"), "io.so"));
24fi;
25
26ReadPackage("IO", "gap/io.gd");
27ReadPackage("IO", "gap/pickle.gd");
28ReadPackage("IO", "gap/realrandom.gd");
29ReadPackage("IO", "gap/http.gd");
30ReadPackage("IO", "gap/background.gd");
31ReadPackage("IO", "gap/iohub.gd");
32ReadPackage("IO", "gap/callwithtimeout.gd");
33
34##
35##  This program is free software: you can redistribute it and/or modify
36##  it under the terms of the GNU General Public License as published by
37##  the Free Software Foundation, either version 3 of the License, or
38##  (at your option) any later version.
39##
40##  This program is distributed in the hope that it will be useful,
41##  but WITHOUT ANY WARRANTY; without even the implied warranty of
42##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
43##  GNU General Public License for more details.
44##
45##  You should have received a copy of the GNU General Public License
46##  along with this program.  If not, see <http://www.gnu.org/licenses/>.
47##
48