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