1 2 3 4 5 6 7 8 9 10 11
#include "cdabstract.h" #include "Input.h" #include "cdreader.h" Handle * open_iso(const String & nom) { if (nom.extract(0, 2).toupper() == "CD:") { return new cdreader(nom.extract(3)); } else { return new Input(nom); } }