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