1 /****************************************************************************
\r
2 * Copyright (c) 2006 by Michael Fischer. All rights reserved.
\r
4 * Redistribution and use in source and binary forms, with or without
\r
5 * modification, are permitted provided that the following conditions
\r
8 * 1. Redistributions of source code must retain the above copyright
\r
9 * notice, this list of conditions and the following disclaimer.
\r
10 * 2. Redistributions in binary form must reproduce the above copyright
\r
11 * notice, this list of conditions and the following disclaimer in the
\r
12 * documentation and/or other materials provided with the distribution.
\r
13 * 3. Neither the name of the author nor the names of its contributors may
\r
14 * be used to endorse or promote products derived from this software
\r
15 * without specific prior written permission.
\r
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
\r
18 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
\r
19 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
\r
20 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
\r
21 * THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
\r
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
\r
23 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
\r
24 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
\r
25 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
\r
26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
\r
27 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
\r
30 ****************************************************************************
\r
33 * 30.03.06 mifi First Version for Insight tutorial
\r
34 ****************************************************************************/
\r
35 #ifndef __TYPEDEFS_H__
\r
36 #define __TYPEDEFS_H__
\r
39 * Some types to use Windows like source
\r
41 typedef char CHAR; /* 8-bit signed data */
\r
42 typedef unsigned char BYTE; /* 8-bit unsigned data */
\r
43 typedef unsigned short WORD; /* 16-bit unsigned data */
\r
44 typedef long LONG; /* 32-bit signed data */
\r
45 typedef unsigned long ULONG; /* 32-bit unsigned data */
\r
46 typedef unsigned long DWORD; /* 32-bit unsigned data */
\r
49 #endif /* !__TYPEDEFS_H__ */
\r