aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichiesams2013-07-03 18:21:25 -0500
committerrichiesams2013-08-04 13:31:58 -0500
commit0ba9ca8fa0614287bf4b7e666a07126fa8e1faad (patch)
tree780f365505d3570bfa43ad362bc386221c32090a
parent16cc970c9e1c7ccc06088de732abcd6ac51fa26a (diff)
downloadscummvm-rg350-0ba9ca8fa0614287bf4b7e666a07126fa8e1faad.tar.gz
scummvm-rg350-0ba9ca8fa0614287bf4b7e666a07126fa8e1faad.tar.bz2
scummvm-rg350-0ba9ca8fa0614287bf4b7e666a07126fa8e1faad.zip
ZVISION: Forward declare ZVision in result_action.h
result_action.h is #included before ZVision is declared, causing not declared compiler errors
-rw-r--r--engines/zvision/result_action.cpp1
-rw-r--r--engines/zvision/result_action.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/engines/zvision/result_action.cpp b/engines/zvision/result_action.cpp
index de439db1b9..4721c5bd61 100644
--- a/engines/zvision/result_action.cpp
+++ b/engines/zvision/result_action.cpp
@@ -23,6 +23,7 @@
#include "common/scummsys.h"
#include "zvision/result_action.h"
+#include "zvision/zvision.h"
namespace ZVision {
diff --git a/engines/zvision/result_action.h b/engines/zvision/result_action.h
index 7ab896d510..fbf8e7f019 100644
--- a/engines/zvision/result_action.h
+++ b/engines/zvision/result_action.h
@@ -25,10 +25,13 @@
#include "common/scummsys.h"
-#include "zvision/zvision.h"
+#include "common/str.h"
namespace ZVision {
+// Forward declaration of ZVision. This file is included before ZVision is declared
+class ZVision;
+
class ResultAction {
public:
virtual ~ResultAction() {}