home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir08
/
f013630.re_
/
f013630.re
Wrap
Text File
|
1996-04-02
|
4KB
|
103 lines
/*----------------------------------------------------------------------+
| |
| Copyright (1993-1995) Bentley Systems, Inc., All rights reserved. |
| |
| "MicroStation" is a registered trademark and "MDL" and "MicroCSL" |
| are trademarks of Bentley Systems, Inc. |
| |
| Limited permission is hereby granted to reproduce and modify this |
| copyrighted material provided that the resulting code is used only |
| in conjunction with Bentley Systems products under the terms of the |
| license agreement provided therein, and that this notice is retained |
| in its entirety in any such reproduction or modification. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| $Logfile: J:/mdl/examples/chngtxt/chtxtcmd.r_v $
| $Workfile: chtxtcmd.r $
| $Revision: 5.6 $
| $Date: 16 Jun 1995 14:54:56 $
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| Function - |
| |
| Command Table for Change Text example program |
| |
+----------------------------------------------------------------------*/
#pragma suppressREQCmds
#include <rscdefs.h>
#include <cmdclass.h>
/* Version 100 */
/*----------------------------------------------------------------------+
| |
| Local Defines |
| |
+----------------------------------------------------------------------*/
#define CT_NONE 0
#define CT_EXAMPLECHANGECOMMANDS 1
#define CT_CHANGETYPE 2
#define CT_TEXT 3
#define CT_FENCE 4
#define CT_FENCHANGE 5
/*----------------------------------------------------------------------+
| |
| Main Change Commands |
| |
+----------------------------------------------------------------------*/
Table CT_EXAMPLECHANGECOMMANDS =
{
{ 1, CT_CHANGETYPE, MANIPULATION, REQ, "CHANGE" },
{ 2, CT_FENCE, FENCE, REQ, "FENCE" }
};
/*----------------------------------------------------------------------+
| |
| Type Subtable |
| |
+----------------------------------------------------------------------*/
Table CT_CHANGETYPE =
{
{ 1, CT_TEXT, INHERIT, NONE, "TEXT" }
};
/*----------------------------------------------------------------------+
| |
| TEXT Subcommands |
| |
+----------------------------------------------------------------------*/
Table CT_TEXT =
{
{ 1, CT_NONE, INHERIT, DEF, "SINGLE" },
{ 2, CT_NONE, FENCE, NONE, "FENCE" },
{ 3, CT_NONE, INHERIT, NONE, "ALL" },
{ 4, CT_NONE, INHERIT, NONE, "FIND" },
{ 5, CT_NONE, INHERIT, NONE, "CHANGE" }
}; /* Endtable text */
/*----------------------------------------------------------------------+
| |
| FENCE Subcommands |
| |
+----------------------------------------------------------------------*/
Table CT_FENCE =
{
{ 1, CT_FENCHANGE, INHERIT, REQ, "CHANGE" }
};
/*----------------------------------------------------------------------+
| |
| FENCE CHANGE Subcommands |
| |
+----------------------------------------------------------------------*/
Table CT_FENCHANGE =
{
{ 1, CT_NONE, INHERIT, NONE, "TEXT" }
};