From ed09887e84b7d50fdaed7b87a4c9927620bea6aa Mon Sep 17 00:00:00 2001 From: yinsimei Date: Mon, 10 Jul 2017 20:23:55 +0200 Subject: SLUDGE: remove an unused .h --- engines/sludge/fonttext.cpp | 1 - engines/sludge/language.cpp | 1 - engines/sludge/main_loop.cpp | 1 - engines/sludge/newfatal.cpp | 1 - engines/sludge/platform-dependent.h | 42 ------------------------------------- engines/sludge/sludger.cpp | 1 - 6 files changed, 47 deletions(-) delete mode 100644 engines/sludge/platform-dependent.h (limited to 'engines') diff --git a/engines/sludge/fonttext.cpp b/engines/sludge/fonttext.cpp index a35c51bd24..2c586e9ebc 100644 --- a/engines/sludge/fonttext.cpp +++ b/engines/sludge/fonttext.cpp @@ -27,7 +27,6 @@ #include "sludge/fonttext.h" #include "sludge/newfatal.h" #include "sludge/moreio.h" -#include "sludge/platform-dependent.h" #include "sludge/utf8.h" namespace Sludge { diff --git a/engines/sludge/language.cpp b/engines/sludge/language.cpp index cb055f930a..ebf4367f3e 100644 --- a/engines/sludge/language.cpp +++ b/engines/sludge/language.cpp @@ -25,7 +25,6 @@ #include "sludge/newfatal.h" #include "sludge/moreio.h" #include "sludge/language.h" -#include "sludge/platform-dependent.h" #include "sludge/sludge.h" #include "sludge/CommonCode/version.h" diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp index 636deeb09c..d0ec09855d 100644 --- a/engines/sludge/main_loop.cpp +++ b/engines/sludge/main_loop.cpp @@ -30,7 +30,6 @@ #include "sludge/allfiles.h" #include "sludge/debug.h" -#include "sludge/platform-dependent.h" #include "sludge/language.h" #include "sludge/stringy.h" #include "sludge/sludger.h" diff --git a/engines/sludge/newfatal.cpp b/engines/sludge/newfatal.cpp index bbb0f8c79b..4e7519493f 100644 --- a/engines/sludge/newfatal.cpp +++ b/engines/sludge/newfatal.cpp @@ -23,7 +23,6 @@ #include "common/debug.h" #include "sludge/allfiles.h" -#include "sludge/platform-dependent.h" #include "sludge/sound.h" #include "sludge/stringy.h" #include "sludge/errors.h" diff --git a/engines/sludge/platform-dependent.h b/engines/sludge/platform-dependent.h deleted file mode 100644 index bf36f5f710..0000000000 --- a/engines/sludge/platform-dependent.h +++ /dev/null @@ -1,42 +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. - * - */ -#ifndef SLUDGE_PLATEFORM_DEPENDENT_H -#define SLUDGE_PLATEFORM_DEPENDENT_H -/* These are the functions which have different versions for - * the different operating systems. - */ - -namespace Sludge { - -char *grabFileName(); - -void msgBox(const char *head, const char *msg); -int msgBoxQuestion(const char *head, const char *msg); - -void changeToUserDir(); -uint32 launch(char *filename); - -bool defaultUserFullScreen(); - -} // End of namespace Sludge - -#endif diff --git a/engines/sludge/sludger.cpp b/engines/sludge/sludger.cpp index 26412a01d8..ac6042089d 100644 --- a/engines/sludge/sludger.cpp +++ b/engines/sludge/sludger.cpp @@ -23,7 +23,6 @@ #include "common/debug.h" #include "sludge/allfiles.h" -#include "sludge/platform-dependent.h" #include "sludge/sludger.h" #include "sludge/backdrop.h" #include "sludge/cursors.h" -- cgit v1.2.3