#ifndef AD_MCDB_H
#define AD_MCDB_H 1
#include "Mdesk.h"
//:Ignore


#define MCDB_SERVICES                  _MXT("McDbServices")
#define MCDB_MODEL_SPACE               _MXT("*Model_Space")
#define MCDB_PAPER_SPACE               _MXT("*Paper_Space")

#define MCDB_PAPER_OTHER_SPACE           _MXT("*PAPER")


#define MCDB_NULL_HANDLE               _MXT("\0\0\0\0\0\0\0")
#define MCDB_BROKEN_HANDLE             _MXT("FFFFFFFF")
#define MCDB_OPEN_BRACE_STR            _MXT("{")
#define MCDB_OPEN_BRACE_CHAR           _MXT('{')
#define MCDB_CLOSE_BRACE_STR           _MXT("}")
#define MCDB_CLOSE_BRACE_CHAR          _MXT('}')
#define MCDB_GROUP_DICTIONARY          _MXT("MCAD_GROUP")
#define MCDB_MLINESTYLE_DICTIONARY     _MXT("MCAD_MLINESTYLE")
#define MCDB_LAYOUT_DICTIONARY         _MXT("MCAD_LAYOUT")
#define MCDB_PLOTSETTINGS_DICTIONARY   _MXT("MCAD_PLOTSETTINGS")
#define MCDB_PLOTSTYLENAME_DICTIONARY  _MXT("MCAD_PLOTSTYLENAME")
#define MCDB_EMBEDDED_OBJECT_STR       _MXT("Embedded Object")


#include "Mcadstrc.h"

#pragma pack(push, 8)

struct McDb
{
    enum OpenMode          { kForRead           = 0,
                             kForWrite          = 1,
                             kForNotify         = 2 };

    enum FileVersion       { kR12               = 0,
                             kR13               = 1,
                             kR13Custom         = 2,
                             kMaxVersion        = 500 }; 

    enum CoordAxis         { kX                 = 0,
                             kY                 = 1,
                             kZ                 = 2 };

    enum CoordSystem       { kWorldCS           = 0,
                             kUserCS            = 1,
                             kCurDisplayCS      = 2,
                             kPaperDisplayCS    = 3,
                             kEntityCS          = 4 };

    enum Intersect         { kOnBothOperands    = 0,
                             kExtendThis        = 1,
                             kExtendArg         = 2,
                             kExtendBoth        = 3 };

	enum ExtendDirection   { kExtendThisStart   = 0x01,
		kExtendThisEnd                          = 0x02,
		kExtendArgStart                         = 0x04,
		kExtendArgEnd                           = 0x08,
		kExAll                                  = 0x0F		// kExtendThisStart | kExtendThisEnd | kExtendArgStart | kExtendArgEnd
	};

    enum Visibility        { kInvisible         = 1,
                             kVisible           = 0 };

    typedef Mdesk::Int16 DxfCode;
    enum                   { kDxfInvalid        = -9999,
                             kDxfXDictionary     = -6,
                             kDxfPReactors       = -5,
                             kDxfUndo            = -4,
                             kDxfXDataStart      = -3,
                             kDxfHeaderId        = -2,
                             kDxfFirstEntId      = -2,
                             kDxfEnd             = -1,
                             kDxfStart           = 0,
                             kDxfText            = 1,
                             kDxfXRefPath        = 1,
                             kDxfShapeName       = 2,
                             kDxfBlockName       = 2,
                             kDxfAttributeTag    = 2,
                             kDxfSymbolTableName = 2,
                             kDxfMstyleName      = 2,
                             kDxfSymTableRecName = 2,
                             kDxfAttributePrompt = 3,
                             kDxfDimStyleName    = 3,
                             kDxfLinetypeProse   = 3,
                             kDxfTextFontFile    = 3,
                             kDxfDescription     = 3,
                             kDxfDimPostStr      = 3,
                             kDxfTextBigFontFile = 4,
                             kDxfDimAPostStr     = 4,
                             kDxfCLShapeName     = 4,
                             kDxfSymTableRecComments = 4,
                             kDxfHandle          = 5,
                             kDxfDimBlk          = 5,
                             kDxfDimBlk1         = 6,
                             kDxfLinetypeName    = 6,
                             kDxfDimBlk2         = 7,
                             kDxfTextStyleName   = 7,
                             kDxfLayerName       = 8,
                             kDxfCLShapeText     = 9,

                             kDxfXCoord         = 10,
    
                             kDxfYCoord         = 20,
    
                             kDxfZCoord         = 30,

                             kDxfElevation      = 38,
                             kDxfThickness      = 39,

                             kDxfReal           = 40,
                             kDxfViewportHeight = 40,
                             kDxfTxtSize        = 40,
                             kDxfTxtStyleXScale = 41,
                             kDxfViewWidth      = 41,
                             kDxfViewportAspect = 41,
                             kDxfTxtStylePSize  = 42,
                             kDxfViewLensLength = 42,
                             kDxfViewFrontClip  = 43,
                             kDxfViewBackClip   = 44,
                             kDxfShapeXOffset   = 44,
                             kDxfShapeYOffset   = 45,
                             kDxfViewHeight     = 45,
                             kDxfShapeScale     = 46,
                             kDxfPixelScale     = 47,

                             kDxfLinetypeScale  = 48,

                             kDxfDashLength     = 49,
                             kDxfMlineOffset    = 49,
                             kDxfLinetypeElement = 49,

                             kDxfAngle          = 50,
                             kDxfViewportSnapAngle = 50,
                             kDxfViewportTwist  = 51,

                             kDxfVisibility     = 60,
                             kDxfLayerLinetype  = 61,
                             kDxfColor          = 62,
                         
                             kDxfHasSubentities = 66,
                             kDxfViewportVisibility = 67,
                             kDxfViewportActive = 68,
                             kDxfViewportNumber = 69,

                             kDxfInt16          = 70,
                             kDxfViewMode       = 71,
                             kDxfCircleSides    = 72,
                             kDxfViewportZoom   = 73,
                             kDxfViewportIcon   = 74,
                             kDxfViewportSnap   = 75,
                             kDxfViewportGrid   = 76,
                             kDxfViewportSnapStyle= 77,
                             kDxfViewportSnapPair= 78,

                             kDxfRegAppFlags    = 71,

                             kDxfTxtStyleFlags  = 71,
                             kDxfLinetypeAlign  = 72,
                             kDxfLinetypePDC    = 73,

                             kDxfInt32          = 90,
							 kDxfTrueColor      = 91,

                             kDxfSubclass            = 100,
                             kDxfEmbeddedObjectStart = 101,
                             kDxfControlString       = 102,

                       
                             kDxfDimVarHandle = 105,

                             kDxfUCSOrg         = 110,
                             kDxfUCSOriX        = 111,
                             kDxfUCSOriY        = 112,

                             kDxfXReal          = 140,

                             kDxfXInt16         = 170,

                             kDxfNormalX        = 210,
                             kDxfNormalY        = 220,
                             kDxfNormalZ        = 230,

                             kDxfXXInt16        = 270,

                             kDxfInt8           = 280,
                             kDxfRenderMode     = 281,

                             kDxfBool           = 290,

                  
                             kDxfXTextString    = 300,

                             kDxfBinaryChunk   = 310,
                 
          
                             kDxfArbHandle  = 320,

                             kDxfSoftPointerId   = 330,  // 330-339
                             kDxfHardPointerId   = 340,  // 340-349
                             kDxfSoftOwnershipId = 350,  // 350-359
                             kDxfHardOwnershipId = 360,  // 360-369

                             kDxfLineWeight        = 370,
                             kDxfPlotStyleNameType = 380,
                             kDxfPlotStyleNameId   = 390,
                             kDxfXXXInt16          = 400,

                             kDxfLayoutName     = 410,

                             kDxfComment        = 999,

                             kDxfXdAsciiString  = 1000,
                             kDxfRegAppName     = 1001,
                             kDxfXdControlString = 1002,
                             kDxfXdLayerName    = 1003,
                             kDxfXdBinaryChunk  = 1004,
                             kDxfXdHandle       = 1005,

                             kDxfXdXCoord       = 1010,
                             kDxfXdYCoord       = 1020,
                             kDxfXdZCoord       = 1030,

                             kDxfXdWorldXCoord  = 1011,
                             kDxfXdWorldYCoord  = 1021,
                             kDxfXdWorldZCoord  = 1031,

                             kDxfXdWorldXDisp   = 1012,
                             kDxfXdWorldYDisp   = 1022,
                             kDxfXdWorldZDisp   = 1032,

                             kDxfXdWorldXDir    = 1013,
                             kDxfXdWorldYDir    = 1023,
                             kDxfXdWorldZDir    = 1033,

                             kDxfXdReal         = 1040,
                             kDxfXdDist         = 1041,
                             kDxfXdScale        = 1042,

                             kDxfXdInteger16    = 1070,
                             kDxfXdInteger32    = 1071 };

  
    enum DwgDataType       { kDwgNull            = 0,
                             kDwgReal            = 1,
                             kDwgInt32           = 2,
                             kDwgInt16           = 3,
                             kDwgInt8            = 4,
                             kDwgText            = 5,
                             kDwgBChunk          = 6,
                             kDwgHandle          = 7,
                             kDwgHardOwnershipId = 8,
                             kDwgSoftOwnershipId = 9,
                             kDwgHardPointerId   = 10,
                             kDwgSoftPointerId   = 11,
                             kDwg3Real           = 12,
                             kDwgNotRecognized   = 19 };

    enum OsnapMask         { kOsMaskEnd          = 1,
                             kOsMaskMid          = 2,
                             kOsMaskCen          = 4,
                             kOsMaskNode         = 8,
                             kOsMaskQuad         = 0x10,
                             kOsMaskInt          = 0x20,
                             kOsMaskIns          = 0x40,
                             kOsMaskPerp         = 0x80,
                             kOsMaskTan          = 0x100,
                             kOsMaskNear         = 0x200,
                             kOsMaskQuick        = 0x400,
                             kOsMaskApint        = 0x800,
                             kOsMaskImmediate    = 0x10000,
                             kOsMaskAllowTan     = 0x20000,
                             kOsMaskDisablePerp  = 0x40000,
                             kOsMaskRelCartesian = 0x80000,
                             kOsMaskRelPolar     = 0x100000 };


    enum OsnapMode         { kOsModekValid       = 0,
							 kOsModeEnd          = 1,
                             kOsModeMid          = 2,
                             kOsModeCen          = 3,
                             kOsModeNode         = 4,
                             kOsModeQuad         = 5, 
                             kOsModeIns          = 7,
                             kOsModePerp         = 8,
                             kOsModeTan          = 9,
                             kOsModeNear         = 10,
							 kOsModeInt          = 11
	};

    enum ShowImagesMode    { kNeverShow     = 0,
                                                 kAlwaysShow      = 1,
                             kBoundingBoxShow = 2 };

    enum SaveImagesMode    { kNeverSave     = 0,
                                                 kAlwaysSave      = 1 };

    enum TextHorzMode      { kTextLeft    = 0,   // TH_LEFT,
                             kTextCenter  = 1,   // TH_CENT,
                             kTextRight   = 2,   // TH_RIGHT,
                             kTextAlign   = 3,   // THV_ALIGN,
                             kTextMid     = 4,   // THV_MID,
                             kTextFit     = 5 }; // THV_FIT
 
    enum TextVertMode      { kTextBase    = 0,   // TV_BASE,
                             kTextBottom  = 1,   // TV_BOT,
                             kTextVertMid = 2,   // TV_MID,
                             kTextTop     = 3 }; // TV_TOP

    enum LineSpacingStyle  { kAtLeast = 1,
                             kExactly = 2 };

    enum Planarity         { kNonPlanar = 0,
                             kPlanar    = 1,
                             kLinear    = 2 };

    enum PointIndex        { kMPoint1    = 0,
                             kMPoint2    = 1,
                             kMPoint3    = 2,
                             kMPoint4    = 3 };

    enum EdgeIndex         { kMEdge1    = 0,
                             kMEdge2    = 1,
                             kMEdge3    = 2,
                             kMEdge4    = 3 };

    enum Poly2dType        { k2dSimplePoly      = 0,
                             k2dFitCurvePoly    = 1,
                             k2dQuadSplinePoly  = 2,
                             k2dCubicSplinePoly = 3 };

    enum Poly3dType        { k3dSimplePoly      = 0,
                             k3dQuadSplinePoly  = 1,
                             k3dCubicSplinePoly = 2 };

    enum PolyMeshType      { kSimpleMesh        = 0,
                             kQuadSurfaceMesh   = 5,
                             kCubicSurfaceMesh  = 6,
                             kBezierSurfaceMesh = 8 };

    enum Vertex2dType      { k2dVertex          = 0,
                             k2dSplineCtlVertex = 1,
                             k2dSplineFitVertex = 2,
                             k2dCurveFitVertex =  3 };

    enum Vertex3dType      { k3dSimpleVertex    = 0,
                             k3dControlVertex   = 1,
                             k3dFitVertex       = 2 };

    enum SpaceValueType    { kUndefined,
                             kStubPtr,
                             kEndOfFile,
                             kBackwardBranch,
                             kForwardBranch,
                             kDetour };

    enum BoolOperType      { kBoolUnite      = 0, 
                             kBoolIntersect  = 1, 
                             kBoolSubtract   = 2 };

    typedef Mdesk::UInt32    SubentType;
    enum                   { kNullSubentType   = 0,
                             kFaceSubentType   = 1,
                             kEdgeSubentType   = 2,
                             kVertexSubentType = 3, 

                             kMlineSubentCache = 4,

                             kClassSubentType  = 5
    
};

    typedef Mdesk::UInt32    GeomId;
    enum                   { kNoGeom = 0 };

    enum GeomType          { kInvalidGeom = 0,
                             kPointGeom,
                             kLineGeom,
                             kCircleGeom,
                             kPlaneGeom };

    enum FilerType         { kFileFiler     = 0,
                             kCopyFiler     = 1,
                             kUndoFiler     = 2,
                             kBagFiler      = 3,
                             kIdXlateFiler      = 4,
                             kPageFiler         = 5,
                             kDeepCloneFiler    = 6,
                             kIdFiler           = 7,
                             kPurgeFiler        = 8,
                             kWblockCloneFiler  = 9,
							 kCustomEntityFileFiler = 10,
							 kDraggingFiler = 11,		// 拖放时，刻隆。如夹点的拖放.
							 kArchiveFiler = 12,
							 kIdStatisticFiler = 13,
							};

    enum FilerSeekType     { kSeekFromStart   = 0,
                             kSeekFromCurrent = 1,
                             kSeekFromEnd     = 2 };

	// mxg 图形文件版式本
	enum McDbMxgVersion    {
		kDHL_MX_INVALID = 0,
		kDHL_MX_1   = 1,
		kDHL_MX_2 = 2,
		kDHL_MX_3 = 3,
		kDHL_MX_4 = 4,
		kDHL_MX_5 = 5,  // 修改符号表的大小变量size.
		kDHL_MX_6 = 6,
		kDHL_MX_CURRENT = kDHL_MX_6
	};



	enum MxFileWeblGLVersion {
		kMxFileWeblGL_INVALID = 0,
		kMxFileWeblGL_1 = 1,
		kMxFileWeblGL_CURRENT = kDHL_MX_1
	};

	// mxg  图形文件中系统实体的版式本.

	// qjx mxfile
	/*
	enum McDbMxEntityFileVersion
	{
		kMEV_INVALID = 0,
		kMEV_1		= 1,
		kMEV_2		= 2,
		kMEV_CURRENT = kMEV_2
	};
	*/
	enum McDbMxEntityFileVersion
	{
		kMEV_INVALID = 0,
		kMEV_1		= 1,
		kMEV_2		= 2,
		kMEV_3		= 3, // 增加ExDraw数据.
		kMEV_4      = 4, // 填充对象，也需要 保存ExDraw数据.
		kMEV_5      = 5, // 增加了ExDraw数据的颜色存放.
		kMEV_6      = 6, // 增加了ExDraw数据的SimplifyData2d
		kMEV_7      = 7, // 增加PL线的类型.
		kMEV_8      = 8, // 保存McDbSpatialFilterImp漏了的属性.
		kMEV_9      = 9,
		kMEV_10    = 10,
		kMEV_11    = 11,
		kMEV_12    = 12,
		kMEV_CURRENT = 12
	};


	
    enum McDbDwgVersion    { kDHL_MC0_0   = 0,
                             kDHL_AC1_2   = 1,
                             kDHL_AC1_40  = 2,
                             kDHL_AC1_50  = 3,
                             kDHL_AC2_20  = 4,
                             kDHL_AC2_10  = 5,
                             kDHL_AC2_21  = 6,
                             kDHL_AC2_22  = 7,
                             kDHL_1001    = 8,
                             kDHL_1002    = 9,     
                             kDHL_1003    = 10,    
                             kDHL_1004    = 11,    
                             kDHL_1005    = 12,
                             kDHL_1006    = 13,    
                             kDHL_1007    = 14,
                             kDHL_1008    = 15,
                             kDHL_1009    = 16,    
                             kDHL_1010    = 17,
                             kDHL_1011    = 18,
                             kDHL_1012    = 19,    
                             kDHL_1013    = 20,    
                             kDHL_1014    = 21,    
                             kDHL_1500    = 22,    
                             kDHL_1015    = 23,    
							 vAC15        = kDHL_1015,      // R15 (2000) release
							 kDHL_1800a   = 24,             // R18 (2004) beta
							 kDHL_1800    = 25,             // R18 (2004) release
							 vAC18        = kDHL_1800,      // R18 (2004) release
							 kDHL_1021    = 27,             // R21 (2007) release
							 vAC21        = kDHL_1021,      // R21 (2007) release
							 kDHL_2400a   = 28,             // R24 (2010) beta
							 kDHL_1024    = 29,             // R24 (2010) release
							 vAC24        = kDHL_1024,      // R24 (2010) release

							 kDHL_MXDRAW_1000 = 500,
                             kDHL_CURRENT = kDHL_MXDRAW_1000,

							kDHL_3200a = 32,             // R32 (2018) beta
							kDHL_1032  = 33,             // R32 (2018) release
							vAC32 = kDHL_1032,      // R32 (2018) release



                             kDHL_Unknown = 32766,
                             kDHL_Max     = 32767 };

    
    enum MaintenanceReleaseVersion
                           { kMRelease0         = 0,
                             kMRelease1         = 1,
                             kMRelease2         = 2,
                             kMRelease3         = 3,
                             kMRelease4         = 4,
                             kMRelease5         = 5,
                             kMRelease6         = 6,
                             kMRelease7         = 7,
                             kMRelease8         = 8,
                             kMRelease9         = 9,
                             kMRelease10        = 10,
                             kMRelease11        = 11,
                             kMRelease12        = 12,
                             kMRelease13        = 13,
                             kMRelease14        = 14,
                             kMRelease15        = 15,
                             kMRelease16        = 16,
                             kMRelease17        = 17,
                             kMRelease18        = 18,
                             kMRelease19        = 19,
                             kMRelease20        = 20,
                             kMRelease21        = 21,
                             kMRelease22        = 22, 
                             kMRelease23        = 23,
                             kMRelease24        = 24,
                             kMRelease25        = 25,
                             kMRelease26        = 26,
                             kMRelease27        = 27,
                             kMRelease28        = 28,
                             kMRelease29        = 29,
                             kMRelease30        = 30,
                             kMRelease31        = 31,
                             kMRelease32        = 32,
                             kMRelease33        = 33,
                             kMRelease34        = 34,
                             kMRelease35        = 35,
                             kMRelease36        = 36,
                             kMRelease37        = 37,
                             kMRelease38        = 38,
                             kMRelease39        = 39,
                             kMRelease40        = 40,
                             kMRelease41        = 41,
                             kMReleaseFirstValid1500 = kMRelease41,
                             kMRelease42        = 42,
                             kMRelease43        = 43,
                             kMRelease44        = 44,
                             kMRelease45        = 45,
                             kMRelease46        = 46,
                             kMRelease47        = 47,
                             kMRelease48        = 48,
                             kMRelease49        = 49,

							 kMxDrawRelease_30  = 200,		// 控件的3.0版本。
							 kMxDrawRelease_50  = 201,		// 控件的5.0版本。
                             kMReleaseCurrent   = kMxDrawRelease_50,
                             kMReleaseUnknown   = 1000,
                             kMReleaseMax       = 1001 };

	enum SaveType          { kDwg   = 0, 
							kDxf   = 1,
							kDxb   = 2,
							kUnknown = -1
	};

    enum GroupOperType     { kNoOp           = 0,
                             kAdd            = 1,
                             kRemove         = 2,
                             kRename         = 3,
                             kOrdered        = 4,
                             kGrpDesc        = 5, 
                             kSelect         = 6, 
                             kCreate         = 7, 
                             kPrepend        = 8,
                             kInsert         = 9,
                             kGrpFlags       = 10 };     


    enum DeepCloneType     { kInvlaidCopy           = 0,
                             kDcExplode        = 1,
                             kDcBlock          = 2,
                             kDcXrefBind       = 3,
                             kDcSymTableMerge  = 4,
                             kDcInsert         = 6,
                             kDcWblock         = 7,
                             kDcObjects        = 8,
                             kDcXrefInsert     = 9,
                             kDcInsertCopy     = 10,
                             kDcWblkObjects    = 11,
							 kDcMarge = 12,
		};

    enum DuplicateRecordCloning { 
                             kDrcNotApplicable  = 0,
                             kDrcIgnore         = 1, 
                             kDrcReplace        = 2,  
                             kDrcXrefMangleName = 3, 
                             kDrcMangleName     = 4,
                             kDrcUnmangleName   = 5 };

    enum XrefStatus        { kXrfNotAnXref     = 0,
                             kXrfResolved      = 1,
                             kXrfUnloaded      = 2,
                             kXrfUnreferenced  = 3,
                             kXrfFileNotFound  = 4,
                             kXrfUnresolved    = 5 };

    enum MeasurementValue {
                kEnglish = 0,
                kMetric  = 1,
    };

    enum UnitsValue {
        kUnitsUndefined     = 0,
        kUnitsInches        = 1,
        kUnitsFeet          = 2,
        kUnitsMiles         = 3,
        kUnitsMillimeters   = 4,
        kUnitsCentimeters   = 5,
        kUnitsMeters        = 6,
        kUnitsKilometers    = 7,
        kUnitsMicroinches   = 8,
        kUnitsMils          = 9,
        kUnitsYards         = 10,
        kUnitsAngstroms     = 11,
        kUnitsNanometers    = 12,
        kUnitsMicrons       = 13,
        kUnitsDecimeters    = 14,
        kUnitsDekameters    = 15,
        kUnitsHectometers   = 16,
        kUnitsGigameters    = 17,
        kUnitsAstronomical  = 18,
        kUnitsLightYears    = 19,
        kUnitsParsecs       = 20,
        kUnitsMax           = kUnitsParsecs,
    };

    enum LineWeight        { kLnWt000          =   0,
                             kLnWt005          =   5,
                             kLnWt009          =   9,
                             kLnWt013          =  13,
                             kLnWt015          =  15,
                             kLnWt018          =  18,
                             kLnWt020          =  20,
                             kLnWt025          =  25,
                             kLnWt030          =  30,
                             kLnWt035          =  35,
                             kLnWt040          =  40,
                             kLnWt050          =  50,
                             kLnWt053          =  53,
                             kLnWt060          =  60,
                             kLnWt070          =  70,
                             kLnWt080          =  80,
                             kLnWt090          =  90,
                             kLnWt100          = 100,
                             kLnWt106          = 106,
                             kLnWt120          = 120,
                             kLnWt140          = 140,
                             kLnWt158          = 158,
                             kLnWt200          = 200,
                             kLnWt211          = 211,
                             kLnWtByLayer      = -1,
                             kLnWtByBlock      = -2,
                             kLnWtByLwDefault  = -3 };


    enum EndCaps           { kEndCapNone       =  0,
                             kEndCapRound      =  1,
                             kEndCapAngle      =  2,
                             kEndCapSquare     =  3 };

    enum JoinStyle         { kJnStylNone       =  0,
                             kJnStylRound      =  1,
                             kJnStylAngle      =  2,
                             kJnStylFlat       =  3 };

    enum PlotStyleNameType { kPlotStyleNameByLayer       = 0,
                             kPlotStyleNameByBlock       = 1,
                             kPlotStyleNameIsDictDefault = 2,
                             kPlotStyleNameById          = 3 };

    enum DimArrowFlags     { kFirstArrow  = 0x00,
                             kSecondArrow = 0x01 };

    enum DimblkFlags       { kDimblk = 0,
                             kDimblk1,
                             kDimblk2,
                             kDimLdrBlk };

    enum OrthographicView  { kNonOrthoView = 0,
                             kTopView      = 1,
                             kBottomView   = 2,
                             kFrontView    = 3,
                             kBackView     = 4,
                             kLeftView     = 5,
                             kRightView    = 6 };

    enum VpFreezeOps       { kFreeze = 0,
                             kThaw,
                             kReset };

    enum reservedStringEnumType { kByLayer = 0,
                             kByBlock      = 1,
                             kNone         = 2,
                             kContinuous   = 3,
                             kStandard     = 4, 
                             kNormal       = 5,
                             kDefPoints    = 6,
                             kDefault      = 7,
                             kMissing      = 8,
                             kByColor      = 9,
                             kModel        = 10,
                             kReservedStringCount };



	enum RenderMode
	{
		k2DOptimized                 = 0,
		kWireframe                   = 1,
		kHiddenLine                  = 2,
		kFlatShaded                  = 3,
		kGouraudShaded               = 4,
		kFlatShadedWithWireframe     = 5,
		kGouraudShadedWithWireframe  = 6,
		kMaxRenderMode
	};

	
};

//:End Ignore

#pragma pack(pop)

#endif
