ONO::FW::Edu::Apps

package ONO::FW::Edu::Apps;
################################################################################
# COPYRIGHT / LICENSE #
################################################################################
#
# This file is part of the ONO Software Project.
#
# Copyright (C) 2022-2026 Jos Kirps and The Joopita Project [ASBL]
# Copyright (C) 2011-2022 Jos Kirps and Joopita Research ASBL
# Copyright (C) 2006-2011 Jos Kirps and The Joopita Project
# Copyright (C) 2001-2006 Jos Kirps and The WobbleWolf Project
#
# This file, as well as many other parts of the ONO Software Project or
# related elements, are FREE SOFTWARE available under the ARTISTIC LICENSE 2.0.
#
# This program 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.
#
# For the full license, see /ono/osr/license/LICENSE.txt, or write to
# jos_AT_kirps_DOT_com or contact_AT_joopita_DOT_com.
#
################################################################################
# END OF COPYRIGHT / LICENSE, HERE COMES THE CODE ... #
################################################################################

use strict;

use ONO::IO;

#: This Directory contains front end application modules that have been
#: specifically created for the Morzino Project (morzino.com) and that have
#: been released as Open Source software.

###############################################################################
# ONO
###############################################################################

use ONO::FW::Edu::Apps::JS;
use ONO::FW::Edu::Apps::Manager;
use ONO::FW::Edu::Apps::Modules;
use ONO::FW::Edu::Apps::ToolBox;
use ONO::FW::Edu::Apps::Variation;

###############################################################################
# GENERATE JS SUB-SCRIPT
###############################################################################

my $FILES;

foreach my $file (ONO::IO->ls("ono/sys/ONO/Ext/Morzino/Apps/JS")) {
if ($file =~ s~\.pm~~) {
$FILES .= "use ONO::FW::Edu::Apps::JS::$file;\n";
}
}

my $SCRIPT = qq~package ONO---Ext---Morzino---Apps---JS;\n#--LICENSE--#\n\nuse strict;\n\n

#-- This Directory contains auto-generated modules that have been compiled using
#-- pure HTML / JS files created for the Morzino Project (morzino.com) and that
#-- have been released as Open Source software.

$FILES

###############################################################################
# end of script
###############################################################################

1;\n\n__END__\n
~;

$SCRIPT =~ s~---~::~g;
$SCRIPT =~ s~#--~#:~g;
$SCRIPT =~ s~--#~:#~g;

ONO::IO->store("ono/sys/ONO/Ext/Morzino/Apps/JS.pm",$SCRIPT);

###############################################################################
# GENERATE Modules SUB-SCRIPT
###############################################################################

my $FILES;

foreach my $file (ONO::IO->ls("ono/sys/ONO/Ext/Morzino/Apps/Modules")) {
if ($file =~ s~\.pm~~) {
$FILES .= "use ONO::FW::Edu::Apps::Modules::$file;\n";
}
}

my $SCRIPT = qq~package ONO---Ext---Morzino---Apps---Modules;\n#--LICENSE--#\n\nuse strict;\n\n

#-- This Directory contains front end application module that have been
#-- created for the Morzino Project (morzino.com) and that have been released
#-- as Open Source software.

$FILES

###############################################################################
# end of script
###############################################################################

1;\n\n__END__\n
~;

$SCRIPT =~ s~---~::~g;
$SCRIPT =~ s~#--~#:~g;
$SCRIPT =~ s~--#~:#~g;

ONO::IO->store("ono/sys/ONO/Ext/Morzino/Apps/Modules.pm",$SCRIPT);

###############################################################################
# end of script
###############################################################################

1;

__END__