Mercurial > dwindows
comparison dw.h @ 984:57cb9edb8944
Added a template skeleton file for porting DW to other platforms.
Also added another error define and used the defines for the return codes in the template.
Updated the comments to be more accurate and include return code explanations.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 07 May 2011 01:58:16 +0000 |
parents | 634bb6cecef1 |
children | 87dc0f5f96d0 |
comparison
equal
deleted
inserted
replaced
983:6abf763838c6 | 984:57cb9edb8944 |
---|---|
1389 #define DW_ERROR_GENERAL 1 | 1389 #define DW_ERROR_GENERAL 1 |
1390 #define DW_ERROR_TIMEOUT 2 | 1390 #define DW_ERROR_TIMEOUT 2 |
1391 #define DW_ERROR_NON_INIT 3 | 1391 #define DW_ERROR_NON_INIT 3 |
1392 #define DW_ERROR_NO_MEM 4 | 1392 #define DW_ERROR_NO_MEM 4 |
1393 #define DW_ERROR_INTERRUPT 5 | 1393 #define DW_ERROR_INTERRUPT 5 |
1394 #define DW_ERROR_UNKNOWN -1 | |
1394 | 1395 |
1395 /* Embedded HTML actions */ | 1396 /* Embedded HTML actions */ |
1396 #define DW_HTML_GOBACK 0 | 1397 #define DW_HTML_GOBACK 0 |
1397 #define DW_HTML_GOFORWARD 1 | 1398 #define DW_HTML_GOFORWARD 1 |
1398 #define DW_HTML_GOHOME 2 | 1399 #define DW_HTML_GOHOME 2 |