Exemple #1
0
 engine_entry get_engine_null_entry()
 {
   return engine_entry(
       [](const data::config& config_, const boost::filesystem::path&,
          const boost::filesystem::path&, const boost::filesystem::path&,
          iface::environment_detector&, iface::displayer&, logger*) {
         return make_engine(config_.engine, not_supported(), not_supported(),
                            not_supported(), not_supported(), not_supported(),
                            not_supported());
       },
       "",
       "An engine which does not support anything. Mainly for testing "
       "purposes.");
 }
Exemple #2
0
int main (int argc, char **argv) {
  cmdline_set_args(argc, argv);

  if (!engine_entry()) {
    return 1;
  }

  for (; engine_frame(); );

  if (!engine_egress()) {
    return 2;
  }

  return 0;
}
Exemple #3
0
 engine_entry get_engine_null_entry()
 {
   return engine_entry(
       [](const data::config& config_, const boost::filesystem::path&,
          const boost::filesystem::path&, const boost::filesystem::path&,
          iface::environment_detector&, iface::displayer&, logger*) {
         return make_engine(config_.active_shell_config().engine,
                            not_supported(), not_supported(), not_supported(),
                            not_supported(), not_supported(), not_supported(),
                            not_supported(), not_supported(),
                            supported_features());
       },
       "", data::markdown_string("An engine which does not support anything. "
                                 "Mainly for testing purposes."),
       supported_features());
 }