aboutsummaryrefslogtreecommitdiff
path: root/backends/audiocd/macosx/macosx-audiocd.h
diff options
context:
space:
mode:
authorMatthew Hoops2012-12-30 13:38:56 -0500
committerJohannes Schickel2016-03-13 13:53:55 +0100
commit47a82f2d1b776ec46d98715c9af3e7ec37a3d206 (patch)
tree13c78700b58900f6b2a672d7674ca2b8c3203cc0 /backends/audiocd/macosx/macosx-audiocd.h
parent55a87c59b61fe6758faee3a3e388b2a8979c7cb8 (diff)
downloadscummvm-rg350-47a82f2d1b776ec46d98715c9af3e7ec37a3d206.tar.gz
scummvm-rg350-47a82f2d1b776ec46d98715c9af3e7ec37a3d206.tar.bz2
scummvm-rg350-47a82f2d1b776ec46d98715c9af3e7ec37a3d206.zip
BACKENDS: Add a custom Mac OS X CD audio manager
Since Mac OS X Carbon/Cocoa API isn't stable (in that it's changed multiple times over the years). Maintaining two versions of the same code (one in some foreign language with overly long names) isn't very appealing to me.
Diffstat (limited to 'backends/audiocd/macosx/macosx-audiocd.h')
-rw-r--r--backends/audiocd/macosx/macosx-audiocd.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/backends/audiocd/macosx/macosx-audiocd.h b/backends/audiocd/macosx/macosx-audiocd.h
new file mode 100644
index 0000000000..cfa979e2c2
--- /dev/null
+++ b/backends/audiocd/macosx/macosx-audiocd.h
@@ -0,0 +1,39 @@
+/* Cabal - Legacy Game Implementations
+ *
+ * Cabal is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef BACKENDS_AUDIOCD_MACOSX_H
+#define BACKENDS_AUDIOCD_MACOSX_H
+
+#include "common/scummsys.h"
+
+#ifdef MACOSX
+
+class AudioCDManager;
+
+/**
+ * Create an audio CD manager for Mac OS X
+ */
+AudioCDManager *createMacOSXAudioCDManager();
+
+#endif
+
+#endif //