home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk23 / dir05 / f017080.re_ / f017080.re
Text File  |  1996-04-02  |  3KB  |  65 lines

  1. /*----------------------------------------------------------------------+
  2. |                                    |
  3. |  Copyright (1995) Bentley Systems, Inc., All rights reserved.        |
  4. |                                    |
  5. |  "MicroStation" is a registered trademark and "MDL" and "MicroCSL"    |
  6. |  are trademarks of Bentley Systems, Inc.                    |
  7. |                                    |
  8. |  Limited permission is hereby granted to reproduce and modify this    |
  9. |  copyrighted material provided that the resulting code is used only     |
  10. |  in conjunction with Bentley Systems products under the terms of the    |
  11. |  license agreement provided therein, and that this notice is retained    |
  12. |  in its entirety in any such reproduction or modification.        |
  13. |                                    |
  14. +----------------------------------------------------------------------*/
  15. /*----------------------------------------------------------------------+
  16. |                                    |
  17. |   $Logfile:   J:/mdl/examples/scanfile/scanfcmd.r_v  $
  18. |   $Workfile:   scanfcmd.r  $
  19. |   $Revision:   1.0  $
  20. |       $Date:   23 Jun 1995 19:26:26  $
  21. |                                    |
  22. +----------------------------------------------------------------------*/
  23. /*----------------------------------------------------------------------+
  24. |                                                                       |
  25. |   scancmd.r - Scanfile example source code.                |
  26. |                                    |
  27. +----------------------------------------------------------------------*/
  28. /*----------------------------------------------------------------------+
  29. |                                                                       |
  30. |   Include Files                                                       |
  31. |                                                                       |
  32. +----------------------------------------------------------------------*/
  33. #include <rscdefs.h>
  34. #include <dlogbox.h>
  35. #include <cmdlist.h>
  36. #include <cmdclass.h>
  37.  
  38. /* Version 100 */
  39.  
  40. /*----------------------------------------------------------------------+
  41. |                                    |
  42. |   Command Table Definitions                        |
  43. |                                    |
  44. +----------------------------------------------------------------------*/
  45. #define  CT_NONE        0
  46. #define  CT_MAIN        1
  47. #define  CT_LINKAGE        2
  48. #define  CT_SCAN        3
  49.  
  50. Table CT_MAIN =
  51.     {
  52.         {1, CT_LINKAGE, PLACEMENT, REQ, "linkage"},
  53.         {1, CT_SCAN, PLACEMENT, REQ, "scan"}
  54.  
  55.     };
  56. Table CT_LINKAGE =
  57.     {
  58.         {2, CT_NONE, PLACEMENT, REQ, "extract"},
  59.         {3, CT_NONE, PLACEMENT, REQ, "attach"}
  60.     };
  61. Table CT_SCAN =
  62.     {
  63.         {1, CT_NONE, PLACEMENT, REQ, "linkage"},
  64.     };
  65.