]> Creatis software - clitk.git/blobdiff - utilities/CxImage/ximawbmp.h
cosmetic
[clitk.git] / utilities / CxImage / ximawbmp.h
index 8103345b4233f5d6effb8fd9e7caaab2f30ae5b6..f52368443ebd0ea4a2b0699809dd6e178153da59 100644 (file)
@@ -1,49 +1,49 @@
-/*\r
- * File:       ximawbmp.h\r
- * Purpose:    WBMP Image Class Loader and Writer\r
- */\r
-/* ==========================================================\r
- * CxImageWBMP (c) 12/Jul/2002 Davide Pizzolato - www.xdp.it\r
- * For conditions of distribution and use, see copyright notice in ximage.h\r
- * ==========================================================\r
- */\r
-#if !defined(__ximaWBMP_h)\r
-#define __ximaWBMP_h\r
-\r
-#include "ximage.h"\r
-\r
-#if CXIMAGE_SUPPORT_WBMP\r
-\r
-class CxImageWBMP: public CxImage\r
-{\r
-#pragma pack(1)\r
-typedef struct tagWbmpHeader\r
-{\r
-    DWORD  Type;            // 0\r
-    BYTE   FixHeader;       // 0\r
-    DWORD  ImageWidth;      // Image Width\r
-    DWORD  ImageHeight;     // Image Height\r
-} WBMPHEADER;\r
-#pragma pack()\r
-public:\r
-       CxImageWBMP(): CxImage(CXIMAGE_FORMAT_WBMP) {}\r
-\r
-//     bool Load(const TCHAR * imageFileName){ return CxImage::Load(imageFileName,CXIMAGE_FORMAT_WBMP);}\r
-//     bool Save(const TCHAR * imageFileName){ return CxImage::Save(imageFileName,CXIMAGE_FORMAT_WBMP);}\r
-       bool Decode(CxFile * hFile);\r
-       bool Decode(FILE *hFile) { CxIOFile file(hFile); return Decode(&file); }\r
-protected:\r
-       bool ReadOctet(CxFile * hFile, DWORD *data);\r
-\r
-public:\r
-#if CXIMAGE_SUPPORT_ENCODE\r
-       bool Encode(CxFile * hFile);\r
-       bool Encode(FILE *hFile) { CxIOFile file(hFile); return Encode(&file); }\r
-protected:\r
-       bool WriteOctet(CxFile * hFile, const DWORD data);\r
-#endif // CXIMAGE_SUPPORT_ENCODE\r
-};\r
-\r
-#endif\r
-\r
-#endif\r
+/*
+ * File:       ximawbmp.h
+ * Purpose:    WBMP Image Class Loader and Writer
+ */
+/* ==========================================================
+ * CxImageWBMP (c) 12/Jul/2002 Davide Pizzolato - www.xdp.it
+ * For conditions of distribution and use, see copyright notice in ximage.h
+ * ==========================================================
+ */
+#if !defined(__ximaWBMP_h)
+#define __ximaWBMP_h
+
+#include "ximage.h"
+
+#if CXIMAGE_SUPPORT_WBMP
+
+class CxImageWBMP: public CxImage
+{
+#pragma pack(1)
+typedef struct tagWbmpHeader
+{
+    DWORD  Type;            // 0
+    BYTE   FixHeader;       // 0
+    DWORD  ImageWidth;      // Image Width
+    DWORD  ImageHeight;     // Image Height
+} WBMPHEADER;
+#pragma pack()
+public:
+       CxImageWBMP(): CxImage(CXIMAGE_FORMAT_WBMP) {}
+
+//     bool Load(const TCHAR * imageFileName){ return CxImage::Load(imageFileName,CXIMAGE_FORMAT_WBMP);}
+//     bool Save(const TCHAR * imageFileName){ return CxImage::Save(imageFileName,CXIMAGE_FORMAT_WBMP);}
+       bool Decode(CxFile * hFile);
+       bool Decode(FILE *hFile) { CxIOFile file(hFile); return Decode(&file); }
+protected:
+       bool ReadOctet(CxFile * hFile, DWORD *data);
+
+public:
+#if CXIMAGE_SUPPORT_ENCODE
+       bool Encode(CxFile * hFile);
+       bool Encode(FILE *hFile) { CxIOFile file(hFile); return Encode(&file); }
+protected:
+       bool WriteOctet(CxFile * hFile, const DWORD data);
+#endif // CXIMAGE_SUPPORT_ENCODE
+};
+
+#endif
+
+#endif