Return to motif.h CVS log | Up to [local] / rpl / modules / motif |
Premiers bouts de code pour la bibliothèque d'interface Xm.
1: #include <pthread.h> 2: 3: #ifdef string 4: # undef string 5: #endif 6: 7: enum types { WIDGET, APPCONTEXT }; 8: 9: #include "Xm/XmAll.h" 10: 11: declareStructure 12: XtAppContext context; 13: Widget widget; 14: as(sXtAppContext) 15: 16: #define string char * 17: 18: #ifdef __RPLC_MAIN 19: volatile logical exitMainLoop; 20: volatile logical setFalse(initializationDone); 21: #else 22: extern volatile logical exitMainLoop; 23: extern volatile logical initializationDone; 24: #endif 25: 26: #include "variables.h" 27: 28: int usleep(useconds_t usec); 29: 30: // vim: ts=4