00001 // Copyright (C) 2008 Ubixum, Inc. 00002 // 00003 // This library is free software; you can redistribute it and/or 00004 // modify it under the terms of the GNU Lesser General Public 00005 // License as published by the Free Software Foundation; either 00006 // version 2.1 of the License, or (at your option) any later version. 00007 // 00008 // This library is distributed in the hope that it will be useful, 00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 // Lesser General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU Lesser General Public 00014 // License along with this library; if not, write to the Free Software 00015 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00016 00021 #ifndef FXTYPES_H 00022 #define FXTYPES_H 00023 00024 typedef unsigned int WORD; 00025 typedef unsigned char BYTE; 00026 typedef unsigned long DWORD; 00027 typedef unsigned char BOOL; 00028 typedef enum { 00029 FALSE=0, 00030 TRUE 00031 } BOOL_VALS; 00032 00033 /*----------------------------------------------------------------------------- 00034 Bit Masks 00035 -----------------------------------------------------------------------------*/ 00036 00037 #define bmBIT0 1 00038 #define bmBIT1 2 00039 #define bmBIT2 4 00040 #define bmBIT3 8 00041 #define bmBIT4 16 00042 #define bmBIT5 32 00043 #define bmBIT6 64 00044 #define bmBIT7 128 00045 00046 #endif