| 37 | InputFactory * InputFactory::s_instance = nullptr; |
| 38 | |
| 39 | InputFactory::InputFactory() |
| 40 | { |
| 41 | // Load all kinds of input |
| 42 | _inputs << new InputSf() |
| 43 | << new InputSfz() |
| 44 | << new InputSfArk() |
| 45 | << new InputGrandOrgue(); |
| 46 | |
| 47 | foreach (AbstractInput * input, _inputs) |
| 48 | { |
| 49 | QStringList extensions = input->getInputExtensions(); |
| 50 | foreach (QString extension, extensions) |
| 51 | _mapToInput[extension.toLower()] = input; |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | void InputFactory::clear() |
| 56 | { |
nothing calls this directly
no outgoing calls
no test coverage detected