|
1234567891011121314151617181920212223242526272829303132 |
- #include "app.hpp"
-
-
- namespace rack {
-
- std::string gApplicationName = "VCV Rack";
- std::string gApplicationVersion =
- #ifdef VERSION
- TOSTRING(VERSION);
- #else
- "";
- #endif
- std::string gApiHost = "https://api.vcvrack.com";
- // std::string gApiHost = "http://localhost:8081";
-
- RackWidget *gRackWidget = NULL;
- Toolbar *gToolbar = NULL;
- RackScene *gRackScene = NULL;
-
-
- void sceneInit() {
- gRackScene = new RackScene();
- gScene = gRackScene;
- }
-
- void sceneDestroy() {
- delete gScene;
- gScene = NULL;
- }
-
-
- } // namespace rack
|