File:  [local] / rpl / modules / motif / motif.h
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Jul 5 13:53:40 2017 UTC (6 years, 10 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
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

CVSweb interface <joel.bertrand@systella.fr>