PreviousUpNext

15.4.1420  src/lib/x-kit/widget/edit/modes-to-preload.pkg

## modes-to-preload.pkg
#
# A key design goal was to make panes and modes very
# independent of the core logic, in particular to have
# app-specific non-standard panes and modes have the
# same privileges as the stock built-in ones.
#
# Unfortunately, this modularity has proceeded so far
# that the Mythryl build system does not even recognize
# the stock panes as being needed.  :-)
#
# Hence this file, which explicitly forces them to load.
# There is a dependency on this file in
#
#     src/lib/x-kit/widget/edit/millboss-imp.pkg
#
# and here we establish dependencies on the other stock
# modes which we want preloaded.
#
# NB: The modes all have explicit internal dependencies
# on their corresponding mills, so we do not need to
# explicitly force mills to load here.

# Compiled by:
#     src/lib/x-kit/widget/xkit-widget.sublib


stipulate
    include package   threadkit;                                # threadkit                     is from   src/lib/src/lib/thread-kit/src/core-thread-kit/threadkit.pkg
    #
    dummy1 = millgraph_mode::millgraph_mode;                    # Force millgraph-mode.pkg to preload.
                                                                # millgraph_mode                is from   src/lib/x-kit/widget/edit/millgraph-mode.pkg

    dummy2 = dazzle_mode::dazzle_mode;                          # Force dazzle-mode.pkg to preload.
                                                                # dazzle_mode                   is from   src/lib/x-kit/widget/edit/dazzle-mode.pkg

    dummy3 = dired_mode::dired_mode;                            # Force dired-mode.pkg to preload.
                                                                # dired_mode                    is from   src/lib/x-kit/widget/edit/dired-mode.pkg

    dummy4 = eval_mode::eval_mode;                              # Force eval-mode.pkg to preload.
                                                                # eval_mode                     is from   src/lib/x-kit/widget/edit/eval-mode.pkg

    dummy5 = shell_mode::shell_mode;                            # Force shell-mode.pkg to preload.
                                                                # shell_mode                    is from   src/lib/x-kit/widget/edit/shell-mode.pkg
herein

    package modes_to_preload {
        #
        Dummy = Int;                                            # millboss-imp keys on this to force us to load.
                                                                # millboss-imp                  is from   src/lib/x-kit/widget/edit/millboss-imp.pkg
    };

end;





Comments and suggestions to: bugs@mythryl.org

PreviousUpNext