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.

33 lines
393B

  1. #pragma once
  2. #include "common.hpp"
  3. namespace rack {
  4. namespace event {
  5. struct Context;
  6. }
  7. struct Scene;
  8. struct Engine;
  9. struct PluginManager;
  10. struct AssetManager;
  11. struct Context {
  12. bool devMode = false;
  13. event::Context *event = NULL;
  14. Scene *scene = NULL;
  15. Engine *engine = NULL;
  16. PluginManager *plugin = NULL;
  17. AssetManager *asset = NULL;
  18. };
  19. Context *context();
  20. } // namespace rack