[Scummvm-cvs-logs] CVS: scummvm/backends/dc icon.h,1.5,1.6 label.h,1.3,1.4

Marcus Comstedt marcus_c at users.sourceforge.net
Sun Mar 14 05:33:01 CET 2004


Update of /cvsroot/scummvm/scummvm/backends/dc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30573

Modified Files:
	icon.h label.h 
Log Message:
Protect against multiple inclusion.

Index: icon.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/icon.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- icon.h	28 Feb 2004 12:57:51 -0000	1.5
+++ icon.h	14 Mar 2004 13:23:20 -0000	1.6
@@ -20,6 +20,9 @@
  *
  */
 
+#ifndef DC_ICON_H
+#define DC_ICON_H
+
 class Icon
 {
  private:
@@ -40,3 +43,5 @@
 	    unsigned argb = 0xffffffff);
   void create_vmicon(void *buffer);
 };
+
+#endif /* DC_ICON_H */

Index: label.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/label.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- label.h	6 Jan 2004 12:45:26 -0000	1.3
+++ label.h	14 Mar 2004 13:23:20 -0000	1.4
@@ -20,6 +20,9 @@
  *
  */
 
+#ifndef DC_LABEL_H
+#define DC_LABEL_H
+
 class Label
 {
  private:
@@ -31,3 +34,5 @@
   void draw(float x, float y, unsigned int argb = 0xffffffff,
 	    float scale = 1.0);
 };
+
+#endif /* DC_LABEL_H */





More information about the Scummvm-git-logs mailing list