aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/stream.h6
-rw-r--r--common/types.h35
2 files changed, 36 insertions, 5 deletions
diff --git a/common/stream.h b/common/stream.h
index 2a8a9e4fc4..b6afcd85a9 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -26,7 +26,7 @@
#ifndef COMMON_STREAM_H
#define COMMON_STREAM_H
-#include "common/scummsys.h"
+#include "common/types.h"
#include "common/endian.h"
namespace Common {
@@ -391,10 +391,6 @@ public:
};
-namespace DisposeAfterUse {
- enum Flag { NO, YES };
-}
-
/**
* SubReadStream provides access to a ReadStream restricted to the range
* [currentPosition, currentPosition+end).
diff --git a/common/types.h b/common/types.h
new file mode 100644
index 0000000000..bed204ae1b
--- /dev/null
+++ b/common/types.h
@@ -0,0 +1,35 @@
+/* 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 COMMON_TYPES_H
+#define COMMON_TYPES_H
+
+#include "common/scummsys.h"
+
+namespace DisposeAfterUse {
+ enum Flag { NO, YES };
+}
+
+
+#endif