From 6a52a168eeb54938c757d3be560f7ba8b30aa7c0 Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Tue, 15 Jun 2010 03:49:20 +0000 Subject: Renamed abstract Manager files. svn-id: r49677 --- backends/mutex/abstract-mutex.h | 43 ---------------------------------------- backends/mutex/mutex.h | 43 ++++++++++++++++++++++++++++++++++++++++ backends/mutex/null/null-mutex.h | 2 +- backends/mutex/sdl/sdl-mutex.h | 2 +- 4 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 backends/mutex/abstract-mutex.h create mode 100644 backends/mutex/mutex.h (limited to 'backends/mutex') diff --git a/backends/mutex/abstract-mutex.h b/backends/mutex/abstract-mutex.h deleted file mode 100644 index d8647bae13..0000000000 --- a/backends/mutex/abstract-mutex.h +++ /dev/null @@ -1,43 +0,0 @@ -/* 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$ - * - */ - -#ifndef BACKENDS_MUTEX_ABSTRACT_H -#define BACKENDS_MUTEX_ABSTRACT_H - -#include "common/system.h" -#include "common/noncopyable.h" - -class MutexManager : Common::NonCopyable { -public: - virtual ~MutexManager() {} - - virtual OSystem::MutexRef createMutex() = 0; - virtual void lockMutex(OSystem::MutexRef mutex) = 0; - virtual void unlockMutex(OSystem::MutexRef mutex) = 0; - virtual void deleteMutex(OSystem::MutexRef mutex) = 0; -}; - - -#endif diff --git a/backends/mutex/mutex.h b/backends/mutex/mutex.h new file mode 100644 index 0000000000..d8647bae13 --- /dev/null +++ b/backends/mutex/mutex.h @@ -0,0 +1,43 @@ +/* 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$ + * + */ + +#ifndef BACKENDS_MUTEX_ABSTRACT_H +#define BACKENDS_MUTEX_ABSTRACT_H + +#include "common/system.h" +#include "common/noncopyable.h" + +class MutexManager : Common::NonCopyable { +public: + virtual ~MutexManager() {} + + virtual OSystem::MutexRef createMutex() = 0; + virtual void lockMutex(OSystem::MutexRef mutex) = 0; + virtual void unlockMutex(OSystem::MutexRef mutex) = 0; + virtual void deleteMutex(OSystem::MutexRef mutex) = 0; +}; + + +#endif diff --git a/backends/mutex/null/null-mutex.h b/backends/mutex/null/null-mutex.h index 76bb595631..ddfe23bdee 100644 --- a/backends/mutex/null/null-mutex.h +++ b/backends/mutex/null/null-mutex.h @@ -26,7 +26,7 @@ #ifndef BACKENDS_MUTEX_NULL_H #define BACKENDS_MUTEX_NULL_H -#include "backends/mutex/abstract-mutex.h" +#include "backends/mutex/mutex.h" class NullMutexManager : MutexManager { public: diff --git a/backends/mutex/sdl/sdl-mutex.h b/backends/mutex/sdl/sdl-mutex.h index acd13a879d..a929ea495f 100644 --- a/backends/mutex/sdl/sdl-mutex.h +++ b/backends/mutex/sdl/sdl-mutex.h @@ -26,7 +26,7 @@ #ifndef BACKENDS_MUTEX_SDL_H #define BACKENDS_MUTEX_SDL_H -#include "backends/mutex/abstract-mutex.h" +#include "backends/mutex/mutex.h" class SdlMutexManager : public MutexManager { public: -- cgit v1.2.3