home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / xdme_1.84_src.lha / XDME / include / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-22  |  4.8 KB  |  169 lines

  1. #ifndef CONFIG_H
  2. #define CONFIG_H 1
  3.  
  4. struct Config0001
  5. {
  6.     Column wwcol;        /*    word wrap column            */
  7.  
  8.     USHORT winx;        /*    save state of non-icon window        */
  9.     USHORT winy;
  10.     USHORT winwidth;
  11.     USHORT winheight;
  12.  
  13.     USHORT iwinx, iwiny;    /*    save state of icon window        */
  14.  
  15.     USHORT aslleft;        /* pos of FileReq */
  16.     USHORT asltop;
  17.     USHORT aslwidth;
  18.     USHORT aslheight;
  19.  
  20.     Column tabstop;        /* size of tabs */
  21.     Column margin;
  22.  
  23.     int   fgpen;        /* Pens */
  24.     int   bgpen;
  25.     int   hgpen;
  26.     int   tpen;
  27.     int   bbpen;
  28.  
  29.     char insertmode;    /* insert or overwrite */
  30.     char ignorecase;    /* should SEARCH ignore the case ? */
  31.     char wordwrap;    /* do wordwrap ? */
  32.     char autosplit;    /* Split line automatically ? */
  33.     char autoindent;    /* Autoindent cursor after <RETURN> ? */
  34.     char autounblock;    /* Automatic Unblock on new BLOCK-command ? */
  35. };
  36.  
  37. #define CONFIG0001        "XDMECNFG0001"
  38. #define CONFIG0001_SIZE     sizeof(struct Config0001)
  39.  
  40. struct Config0002
  41. {
  42.     Column wwcol;        /*    word wrap column            */
  43.  
  44.     UWORD winx;         /*    save state of non-icon window        */
  45.     UWORD winy;
  46.     UWORD winwidth;
  47.     UWORD winheight;
  48.  
  49.     UWORD iwinx, iwiny;     /*    save state of icon window        */
  50.  
  51.     UWORD aslleft;        /* pos of FileReq */
  52.     UWORD asltop;
  53.     UWORD aslwidth;
  54.     UWORD aslheight;
  55.  
  56.     Column tabstop;        /* size of tabs */
  57.     Column margin;
  58.  
  59.     int   fgpen;        /* Pens */
  60.     int   bgpen;
  61.     int   hgpen;
  62.     int   tpen;
  63.     int   bbpen;
  64.  
  65.     ULONG insertmode : 1;   /* insert or overwrite */
  66.     ULONG ignorecase : 1;   /* should SEARCH ignore the case ? */
  67.     ULONG wordwrap : 1;     /* do wordwrap ? */
  68.     ULONG autosplit : 1;    /* Split line automatically ? */
  69.     ULONG autoindent : 1;   /* Autoindent cursor after <RETURN> ? */
  70.     ULONG autounblock : 1;  /* Automatic Unblock on new BLOCK-command ? */
  71. };
  72.  
  73. #define CONFIG0002        "XDMECNFG0002"
  74. #define CONFIG0002_SIZE     sizeof(struct Config0002)
  75.  
  76. struct Config0003
  77. {
  78.     Column wwcol;        /*    word wrap column            */
  79.  
  80.     UWORD winx;         /*    save state of non-icon window        */
  81.     UWORD winy;
  82.     UWORD winwidth;
  83.     UWORD winheight;
  84.  
  85.     UWORD iwinx, iwiny;     /*    save state of icon window        */
  86.  
  87.     UWORD aslleft;        /* pos of FileReq */
  88.     UWORD asltop;
  89.     UWORD aslwidth;
  90.     UWORD aslheight;
  91.  
  92.     Column tabstop;        /* size of tabs */
  93.     Column margin;
  94.  
  95.     UBYTE fgpen;        /* Pens */
  96.     UBYTE bgpen;
  97.     UBYTE hgpen;
  98.     UBYTE tpen;
  99.     UBYTE bbpen;
  100.  
  101.     ULONG insertmode : 1;   /* insert or overwrite */
  102.     ULONG ignorecase : 1;   /* should SEARCH ignore the case ? */
  103.     ULONG wordwrap : 1;     /* do wordwrap ? */
  104.     ULONG autosplit : 1;    /* Split line automatically ? */
  105.     ULONG autoindent : 1;   /* Autoindent cursor after <RETURN> ? */
  106.     ULONG autounblock : 1;  /* Automatic Unblock on new BLOCK-command ? */
  107. };
  108.  
  109. #define CONFIG0003        "XDMECNFG0003"
  110. #define CONFIG0003_SIZE     sizeof(struct Config0003)
  111.  
  112. struct Config0004
  113. {
  114.     Column wwcol;        /*    word wrap column            */
  115.  
  116.     UWORD winx;         /*    save state of non-icon window        */
  117.     UWORD winy;
  118.     UWORD winwidth;
  119.     UWORD winheight;
  120.  
  121.     UWORD iwinx, iwiny;     /*    save state of icon window        */
  122.  
  123.     UWORD aslleft;        /* pos of FileReq */
  124.     UWORD asltop;
  125.     UWORD aslwidth;
  126.     UWORD aslheight;
  127.  
  128.     Column tabstop;        /* size of tabs */
  129.     Column margin;
  130.  
  131.     UBYTE fgpen;        /* Pens */
  132.     UBYTE bgpen;
  133.     UBYTE hgpen;
  134.     UBYTE bbpen;
  135.     UBYTE tfpen;
  136.     UBYTE tbpen;
  137.  
  138.     ULONG _insertmode  : 1;  /* insert or overwrite */
  139.     ULONG _ignorecase  : 1;  /* should SEARCH ignore the case ? */
  140.     ULONG _wordwrap    : 1;  /* do wordwrap ? */
  141.     ULONG _autosplit   : 1;  /* Split line automatically ? */
  142.     ULONG _autoindent  : 1;  /* Autoindent cursor after <RETURN> ? */
  143.  
  144.     ULONG _autounblock : 1;  /* Automatic Unblock on new BLOCK-command ? */
  145.     ULONG _doback      : 1;  /* create backup on save */
  146.     ULONG _nicepaging  : 1;  /* don't do paging as the styleguide says */
  147.     ULONG _iconactive  : 1;  /* should the iconified window be activated ? */
  148.     ULONG _blockendsfloat : 1; /* should bstart & bend sort themselves ? */
  149.  
  150. /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  151. !!!!!!!!!!!!! DON'T CHANGE ANYTHING ABOVE HERE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  152. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  153.  
  154.     If you need to add a new flag, count dummy_bf down by one and insert it
  155.     before dummy_bf. If you need something else, count down dummy_pad and
  156.     insert it before dummy_pad. */
  157.  
  158.     ULONG dummy_bf    : 22; /* more flags here (default: 0) */
  159.     UBYTE dummy_pad[76];    /* more space for more stuff */
  160. };
  161.  
  162. #define CONFIG0004        "XDMECNFG0004"
  163. #define CONFIG0004_SIZE     sizeof(struct Config0004)
  164.  
  165. #define Config            Config0004
  166. #define CONFIG_VERSION        CONFIG0004
  167.  
  168. #endif /* CONFIG_H */
  169.