00001 #include <scol.h> 00002 #include <list> 00003 #include <string> 00004 #include <assert.h> 00005 00006 extern cbmachine ww; 00007 00008 extern HWND HScol ; //Scol window Handle 00009 00010 //OBJECT 00011 extern int OBJNONINSCOL; 00012 00013 #define ASSERT assert 00014 00015 #define DELETEARRAY(x) if (x) { delete []x; x = NULL; } 00016 #define CHECKALLOC(x) if(!x) { return false;} 00017 00018 wchar_t* convertCharToLPCWSTR(char * s_text); 00019 char* convertWcharToChar(wchar_t * w_text); 00020 00021 00022 #define DISCONNECTION_WIN_TIME 2000 00023 00027 #define N_BAUD_1200 1200 00028 #define N_BAUD_2400 2400 00029 #define N_BAUD_4800 4800 00030 #define N_BAUD_9600 9600 00031 #define N_BAUD_57600 57600 00032 #define N_BAUD_115200 115200 00033 00034 //===== CB Nonin CONNECTED === 00035 extern int SCOL_NONIN_CONNECTED_CB; 00036 extern int NONIN_CONNECTED_CB; 00037 00038 //===== CB Nonin DISCONNECTED === 00039 extern int SCOL_NONIN_DISCONNECTED_CB; 00040 extern int NONIN_DISCONNECTED_CB; 00041 00042 //===== CB Nonin HR === 00043 extern int SCOL_NONIN_HR_CB; 00044 extern int NONIN_HR_CB; 00045 00046 //===== CB Nonin SPO2 === 00047 extern int SCOL_NONIN_SPO2_CB; 00048 extern int NONIN_SPO2_CB; 00049 00050 //===== CB Nonin SNSA === 00051 extern int SCOL_NONIN_SNSA_CB; 00052 extern int NONIN_SNSA_CB;
1.6.3