aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Comstedt2004-03-14 13:23:20 +0000
committerMarcus Comstedt2004-03-14 13:23:20 +0000
commit309a0a80f26976b1a48f119d8d6fe5ee4dfac80e (patch)
tree10a11193fdfc15d14ad1a35227eabe23606e0499
parent3be01c0560cbfa7a0e7a33f0dc2ea69010e6d7a7 (diff)
downloadscummvm-rg350-309a0a80f26976b1a48f119d8d6fe5ee4dfac80e.tar.gz
scummvm-rg350-309a0a80f26976b1a48f119d8d6fe5ee4dfac80e.tar.bz2
scummvm-rg350-309a0a80f26976b1a48f119d8d6fe5ee4dfac80e.zip
Protect against multiple inclusion.
svn-id: r13270
-rw-r--r--backends/dc/icon.h5
-rw-r--r--backends/dc/label.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/backends/dc/icon.h b/backends/dc/icon.h
index dea8d0e7a5..ef4830743b 100644
--- a/backends/dc/icon.h
+++ b/backends/dc/icon.h
@@ -20,6 +20,9 @@
*
*/
+#ifndef DC_ICON_H
+#define DC_ICON_H
+
class Icon
{
private:
@@ -40,3 +43,5 @@ class Icon
unsigned argb = 0xffffffff);
void create_vmicon(void *buffer);
};
+
+#endif /* DC_ICON_H */
diff --git a/backends/dc/label.h b/backends/dc/label.h
index b4417de1eb..3211ea0162 100644
--- a/backends/dc/label.h
+++ b/backends/dc/label.h
@@ -20,6 +20,9 @@
*
*/
+#ifndef DC_LABEL_H
+#define DC_LABEL_H
+
class Label
{
private:
@@ -31,3 +34,5 @@ class Label
void draw(float x, float y, unsigned int argb = 0xffffffff,
float scale = 1.0);
};
+
+#endif /* DC_LABEL_H */