summaryrefslogtreecommitdiff
path: root/lib/cdabstract.cpp
blob: b79960fc81402866ac1c1487c4b7eed2a71e8991 (plain)
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);
    }
}