From 75d6916ec69878af6649dd41ccdc41b5df807230 Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 27 Sep 2002 20:36:49 +0000 Subject: Adding missing files --- lib/cdabstract.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/cdabstract.cpp (limited to 'lib/cdabstract.cpp') 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); + } +} -- cgit v1.2.3