diff options
Diffstat (limited to 'engines/sword25/kernel/service_ids.h')
-rwxr-xr-x | engines/sword25/kernel/service_ids.h | 84 |
1 files changed, 48 insertions, 36 deletions
diff --git a/engines/sword25/kernel/service_ids.h b/engines/sword25/kernel/service_ids.h index 77df745236..7b6e19bf5a 100755 --- a/engines/sword25/kernel/service_ids.h +++ b/engines/sword25/kernel/service_ids.h @@ -1,43 +1,51 @@ -// ----------------------------------------------------------------------------- -// This file is part of Broken Sword 2.5 -// Copyright (c) Malte Thiesen, Daniel Queteschiner and Michael Elsdörfer -// -// Broken Sword 2.5 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. -// -// Broken Sword 2.5 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 Broken Sword 2.5; if not, write to the Free Software -// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -// ----------------------------------------------------------------------------- - -/* - service_ids.h - ------------- - In dieser Datei sind alle Services verzeichnet. - JEDER neuer Service muss hier eingetragen werden, ansonsten kann er nicht mit - pKernel->NewService(..) instanziiert werden. - - Autor: Malte Thiesen -*/ +/* 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$ + * + * service_ids.h + * ------------- + * This file lists all the services. + * EVERY new service needs to be entered here, otherwise it cannot be instantiated + * by pKernel->NewService(..) + * + * Autor: Malte Thiesen + */ + +#ifndef SWORD25_SERVICE_IDS +#define SWORD25_SERVICE_IDS #include "sword25/kernel/common.h" -BS_Service * BS_OpenGLGfx_CreateObject(BS_Kernel* pKernel); -BS_Service * BS_PhysfsPackageManager_CreateObject(BS_Kernel* pKernel); -BS_Service * BS_StdWinInput_CreateObject(BS_Kernel* pKernel); -BS_Service * BS_FMODExSound_CreateObject(BS_Kernel* pKernel); -BS_Service * BS_LuaScriptEngine_CreateObject(BS_Kernel* pKernel); -BS_Service * BS_Geometry_CreateObject(BS_Kernel* pKernel); -BS_Service * BS_OggTheora_CreateObject(BS_Kernel* pKernel); +namespace Sword25 { -// Services müssen in dieser Tabelle eingetragen werden +BS_Service *BS_OpenGLGfx_CreateObject(BS_Kernel* pKernel); +BS_Service *BS_PhysfsPackageManager_CreateObject(BS_Kernel* pKernel); +BS_Service *BS_StdWinInput_CreateObject(BS_Kernel* pKernel); +BS_Service *BS_FMODExSound_CreateObject(BS_Kernel* pKernel); +BS_Service *BS_LuaScriptEngine_CreateObject(BS_Kernel* pKernel); +BS_Service *BS_Geometry_CreateObject(BS_Kernel* pKernel); +BS_Service *BS_OggTheora_CreateObject(BS_Kernel* pKernel); + +// Services are recorded in this table const BS_ServiceInfo BS_SERVICE_TABLE[] = { // Die ersten beiden Parameter sind die Namen der Superclass und des Services. @@ -54,3 +62,7 @@ const BS_ServiceInfo BS_SERVICE_TABLE[] = }; const unsigned int BS_SERVICE_COUNT = sizeof(BS_SERVICE_TABLE) / sizeof(BS_ServiceInfo); + +} // End of namespace Sword25 + +#endif |