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.

app.cpp 514B

1234567891011121314151617181920212223242526272829303132
  1. #include "app.hpp"
  2. namespace rack {
  3. std::string gApplicationName = "VCV Rack";
  4. std::string gApplicationVersion =
  5. #ifdef VERSION
  6. TOSTRING(VERSION);
  7. #else
  8. "";
  9. #endif
  10. std::string gApiHost = "https://api.vcvrack.com";
  11. // std::string gApiHost = "http://localhost:8081";
  12. RackWidget *gRackWidget = NULL;
  13. Toolbar *gToolbar = NULL;
  14. RackScene *gRackScene = NULL;
  15. void sceneInit() {
  16. gRackScene = new RackScene();
  17. gScene = gRackScene;
  18. }
  19. void sceneDestroy() {
  20. delete gScene;
  21. gScene = NULL;
  22. }
  23. } // namespace rack