You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
529B

  1. #include "Template.hpp"
  2. RACK_PLUGIN_MODEL_DECLARE(Template, MyModule);
  3. RACK_PLUGIN_INIT(Template) {
  4. RACK_PLUGIN_INIT_ID();
  5. RACK_PLUGIN_INIT_WEBSITE("https://<your_website>");
  6. RACK_PLUGIN_INIT_MANUAL("https://<link_to_the_manual>");
  7. // Add all Models defined throughout the plugin
  8. RACK_PLUGIN_MODEL_ADD(Template, MyModule);
  9. // Any other plugin initialization may go here.
  10. // As an alternative, consider lazy-loading assets and lookup tables when your module is created to reduce startup times of Rack.
  11. }