MCPcopy Create free account
hub / github.com/davy7125/polyphone / InputFactory

Method InputFactory

sources/core/input/inputfactory.cpp:39–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37InputFactory * InputFactory::s_instance = nullptr;
38
39InputFactory::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
55void InputFactory::clear()
56{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected