Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to free it, and anyone creating a class is probably going to use it, too.
This commit is contained in:
@@ -171,7 +171,7 @@ RegisterInputHandler::RegisterInputHandler( const istring &sName, CreateRageDriv
|
||||
}
|
||||
|
||||
static LocalizedString INPUT_HANDLERS_EMPTY( "Arch", "Input Handlers cannot be empty." );
|
||||
void MakeInputHandlers( const RString &drivers_, vector<InputHandler *> &Add )
|
||||
void InputHandler::Create( const RString &drivers_, vector<InputHandler *> &Add )
|
||||
{
|
||||
const RString drivers = drivers_.empty()? RString(DEFAULT_INPUT_DRIVER_LIST):drivers_;
|
||||
vector<RString> DriversToTry;
|
||||
|
||||
Reference in New Issue
Block a user