| 2221 | } |
| 2222 | |
| 2223 | bool FullInstrumentExpansion::isEnabled(const MainController* mc) |
| 2224 | { |
| 2225 | #if USE_BACKEND |
| 2226 | return dynamic_cast<const GlobalSettingManager*>(mc)->getSettingsObject().getSetting(HiseSettings::Project::ExpansionType) == "Full"; |
| 2227 | #else |
| 2228 | ignoreUnused(mc); |
| 2229 | return FrontendHandler::getExpansionType() == "Full"; |
| 2230 | #endif |
| 2231 | } |
| 2232 | |
| 2233 | Expansion* FullInstrumentExpansion::getCurrentFullExpansion(const MainController* mc) |
| 2234 | { |
no test coverage detected