diff options
author | Pixel <Pixel> | 2002-09-27 20:36:49 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-09-27 20:36:49 +0000 |
commit | 75d6916ec69878af6649dd41ccdc41b5df807230 (patch) | |
tree | dcad3360e3b190f129bc13e6af6e0f9fe8569755 /lib/cdabstract.cpp | |
parent | 28806bc90b9555e78944e80e78e90debfa632b4b (diff) |
Adding missing files
Diffstat (limited to 'lib/cdabstract.cpp')
-rw-r--r-- | lib/cdabstract.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/cdabstract.cpp b/lib/cdabstract.cpp new file mode 100644 index 0000000..083aa4d --- /dev/null +++ b/lib/cdabstract.cpp @@ -0,0 +1,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); + } +} |