aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/imuse/sysex.h
diff options
context:
space:
mode:
authorJamieson Christian2006-03-12 18:06:22 +0000
committerJamieson Christian2006-03-12 18:06:22 +0000
commit4d5a3e4c45b19a96e55ff8a3c67ff7ab9734fd3b (patch)
tree23d4c7e78d45aaea3d95b2e59c83bf067904cc69 /engines/scumm/imuse/sysex.h
parent20095d8e93085419385efbe82d6607201d1d38c6 (diff)
downloadscummvm-rg350-4d5a3e4c45b19a96e55ff8a3c67ff7ab9734fd3b.tar.gz
scummvm-rg350-4d5a3e4c45b19a96e55ff8a3c67ff7ab9734fd3b.tar.bz2
scummvm-rg350-4d5a3e4c45b19a96e55ff8a3c67ff7ab9734fd3b.zip
IMuse SysEx processing now handled by client-specified callbacks. This removes all game-specific references from the Player class. Bloodshed Dev-C++ project file updated.
svn-id: r21241
Diffstat (limited to 'engines/scumm/imuse/sysex.h')
-rw-r--r--engines/scumm/imuse/sysex.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/engines/scumm/imuse/sysex.h b/engines/scumm/imuse/sysex.h
new file mode 100644
index 0000000000..7e33295b62
--- /dev/null
+++ b/engines/scumm/imuse/sysex.h
@@ -0,0 +1,39 @@
+/* ScummVM - Scumm Interpreter
+ * Copyright (C) 2001 Ludvig Strigeus
+ * Copyright (C) 2001-2006 The ScummVM project
+ *
+ * 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.
+ *
+ * $URL$
+ * $Id$
+ */
+
+#ifndef DEFINED_SYSEX_H
+#define DEFINED_SYSEX_H
+
+#include "common/stdafx.h"
+#include "common/util.h"
+
+namespace Scumm {
+
+class Player;
+
+extern void sysexHandler_Scumm (Player *, const byte *, uint16);
+extern void sysexHandler_SamNMax (Player *, const byte *, uint16);
+
+} // End of namespace Scumm
+
+#endif
+