aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mallon2011-08-07 20:05:25 +0200
committerAlyssa Milburn2011-11-21 15:59:19 +0100
commite578cb8976f10cd9217cddef48c6693cf5d03c7b (patch)
treec7212f8479ef348b52eee4b03155ce95096714dc
parentd9bcf1a3bfa697c09252f14a397cd0fc610b7cfb (diff)
downloadscummvm-rg350-e578cb8976f10cd9217cddef48c6693cf5d03c7b.tar.gz
scummvm-rg350-e578cb8976f10cd9217cddef48c6693cf5d03c7b.tar.bz2
scummvm-rg350-e578cb8976f10cd9217cddef48c6693cf5d03c7b.zip
ALL: Remove unnecessary forward declarations.
-rw-r--r--backends/platform/ps2/Gs2dScreen.h4
-rw-r--r--engines/kyra/kyra_lok.h4
-rw-r--r--engines/lastexpress/data/scene.h4
-rw-r--r--engines/teenagent/surface.h1
-rw-r--r--graphics/yuv_to_rgb.h2
-rw-r--r--video/avi_decoder.h4
-rw-r--r--video/codecs/cinepak.h4
-rw-r--r--video/codecs/mjpeg.h1
-rw-r--r--video/dxa_decoder.h4
9 files changed, 0 insertions, 28 deletions
diff --git a/backends/platform/ps2/Gs2dScreen.h b/backends/platform/ps2/Gs2dScreen.h
index dffdce5b36..3701afd590 100644
--- a/backends/platform/ps2/Gs2dScreen.h
+++ b/backends/platform/ps2/Gs2dScreen.h
@@ -42,10 +42,6 @@ enum GsInterlace {
};
-namespace Graphics {
-struct Surface;
-}
-
class Gs2dScreen {
public:
Gs2dScreen(uint16 width, uint16 height, TVMode tvMode);
diff --git a/engines/kyra/kyra_lok.h b/engines/kyra/kyra_lok.h
index db70d193ff..e5fb3cddca 100644
--- a/engines/kyra/kyra_lok.h
+++ b/engines/kyra/kyra_lok.h
@@ -29,10 +29,6 @@
#include "kyra/gui_lok.h"
#include "kyra/item.h"
-namespace Graphics {
-struct Surface;
-}
-
namespace Kyra {
class Movie;
diff --git a/engines/lastexpress/data/scene.h b/engines/lastexpress/data/scene.h
index 0c0d12b9c0..69a1417459 100644
--- a/engines/lastexpress/data/scene.h
+++ b/engines/lastexpress/data/scene.h
@@ -76,10 +76,6 @@ class SeekableReadStream;
class String;
}
-namespace Graphics {
-struct Surface;
-}
-
namespace LastExpress {
class Scene;
diff --git a/engines/teenagent/surface.h b/engines/teenagent/surface.h
index 1771b2d683..51368c6bee 100644
--- a/engines/teenagent/surface.h
+++ b/engines/teenagent/surface.h
@@ -31,7 +31,6 @@ class SeekableReadStream;
namespace TeenAgent {
-class Pack;
class Surface : public Graphics::Surface {
public:
enum Type {kTypeOns, kTypeLan};
diff --git a/graphics/yuv_to_rgb.h b/graphics/yuv_to_rgb.h
index 2d3b9e634e..259ba09810 100644
--- a/graphics/yuv_to_rgb.h
+++ b/graphics/yuv_to_rgb.h
@@ -35,8 +35,6 @@
namespace Graphics {
-struct Surface;
-
/**
* Convert a YUV420 image to an RGB surface
*
diff --git a/video/avi_decoder.h b/video/avi_decoder.h
index 540a76855d..508760ec89 100644
--- a/video/avi_decoder.h
+++ b/video/avi_decoder.h
@@ -43,10 +43,6 @@ namespace Graphics {
struct PixelFormat;
}
-namespace Graphics {
-struct Surface;
-}
-
namespace Video {
class Codec;
diff --git a/video/codecs/cinepak.h b/video/codecs/cinepak.h
index 67000bf58a..ca4552fae6 100644
--- a/video/codecs/cinepak.h
+++ b/video/codecs/cinepak.h
@@ -33,10 +33,6 @@ namespace Common {
class SeekableReadStream;
}
-namespace Graphics {
-struct Surface;
-}
-
namespace Video {
struct CinepakCodebook {
diff --git a/video/codecs/mjpeg.h b/video/codecs/mjpeg.h
index 8a446ee005..45cb57dea2 100644
--- a/video/codecs/mjpeg.h
+++ b/video/codecs/mjpeg.h
@@ -32,7 +32,6 @@ class SeekableReadStream;
namespace Graphics {
class JPEG;
-struct Surface;
}
namespace Video {
diff --git a/video/dxa_decoder.h b/video/dxa_decoder.h
index 4eb4a8958d..d13cd3076c 100644
--- a/video/dxa_decoder.h
+++ b/video/dxa_decoder.h
@@ -31,10 +31,6 @@ namespace Common {
class SeekableReadStream;
}
-namespace Graphics {
-struct Surface;
-}
-
namespace Video {
/**