aboutsummaryrefslogtreecommitdiff
path: root/backends/mutex/default/default-mutex.cpp
diff options
context:
space:
mode:
authorAlejandro Marzini2010-06-04 01:51:32 +0000
committerAlejandro Marzini2010-06-04 01:51:32 +0000
commitf83360f66b246cc505ba803f35221c3e67236246 (patch)
tree15655ac8afb0b321d6a8e650f5eea67ac69edf5f /backends/mutex/default/default-mutex.cpp
parent38dbbca964ac182439c2e61840783a4b7465688a (diff)
downloadscummvm-rg350-f83360f66b246cc505ba803f35221c3e67236246.tar.gz
scummvm-rg350-f83360f66b246cc505ba803f35221c3e67236246.tar.bz2
scummvm-rg350-f83360f66b246cc505ba803f35221c3e67236246.zip
Created DefaultAudioManager and DefaultMutexManager.
Deleted base subsystems, managers will be used instead. svn-id: r49419
Diffstat (limited to 'backends/mutex/default/default-mutex.cpp')
-rw-r--r--backends/mutex/default/default-mutex.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/backends/mutex/default/default-mutex.cpp b/backends/mutex/default/default-mutex.cpp
new file mode 100644
index 0000000000..936ede197a
--- /dev/null
+++ b/backends/mutex/default/default-mutex.cpp
@@ -0,0 +1,38 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM 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.
+ *
+ * $URL$
+ * $Id$
+ *
+ */
+
+#include "backends/mutex/default/default-mutex.h"
+
+OSystem::MutexRef DefaultMutexManager::createMutex() {
+ return OSystem::MutexRef();
+}
+
+bool DefaultMutexManager::hasMutexFeature(OSystem::Feature f) {
+ return false;
+}
+
+bool DefaultMutexManager::getMutexFeatureState(OSystem::Feature f) {
+ return false;
+}