home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir04
/
f010990.re_
/
f010990.re
Wrap
Text File
|
1996-04-02
|
7KB
|
170 lines
/*----------------------------------------------------------------------+
| |
| Copyright (c) 1985-93; Bentley Systems, Inc., All rights reserved. |
| |
| "MicroStation", "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. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| deffiles.h -- MicroStation User Preferences Default File Ids |
| |
| $Workfile: deffiles.h $
| $Revision: 6.29 $
| $Date: 29 Jan 1996 15:36:02 $
| |
+----------------------------------------------------------------------*/
#ifndef __deffilesH__
#define __deffilesH__
/*----------------------------------------------------------------------+
| |
| Header File Dependencies |
| |
+----------------------------------------------------------------------*/
#ifndef __msdefsH__
#include <msdefs.h>
#endif
/*----------------------------------------------------------------------+
| |
| MicroStation Default File Info Resource Ids |
| |
+----------------------------------------------------------------------*/
#define DEFFILE_INFO_SIGNATURE 0xFF /* Resource Signature byte. */
#define DEFFILE_FORMAT_VERSION 4 /* Version 4 of DefaultFileInfo */
#define DEFFILE_MAX_SAVED 4 /* Save last 4 files */
#define DEFFILE_BASEID -100
#define DEFDGNFILE_ID (DEFFILE_BASEID-1)
#define DEFIMAGEFILE_ID (DEFFILE_BASEID-2)
#define DEFRECORDFILE_ID (DEFFILE_BASEID-3)
#define DEFDISPFILE_ID (DEFFILE_BASEID-4)
#define DEFNODEFILE_ID (DEFFILE_BASEID-5)
#define DEFREFFILE_ID (DEFFILE_BASEID-6)
#define DEFCELLFILE_ID (DEFFILE_BASEID-7)
#define DEFPLTCFGFILE_ID (DEFFILE_BASEID-8)
#define DEFUCMFILE_ID (DEFFILE_BASEID-9)
#define DEFPLOTFILE_ID (DEFFILE_BASEID-10)
#define DEFFUNCKEYFILE_ID (DEFFILE_BASEID-11)
#define DEFLVLFILE_ID (DEFFILE_BASEID-12)
#define DEFCTBLFILE_ID (DEFFILE_BASEID-13)
#define DEFUCIFILE_ID (DEFFILE_BASEID-14)
#define DEFDXFFILE_ID (DEFFILE_BASEID-15)
#define DEFDWGFILE_ID (DEFFILE_BASEID-16)
#define DEFIGESFILE_ID (DEFFILE_BASEID-17)
#define DEFMOVIEFILE_ID (DEFFILE_BASEID-18)
#define DEFMATPALETTE_ID (DEFFILE_BASEID-19)
#define DEFTEXTURE_ID (DEFFILE_BASEID-20)
#define DEFMATTABLE_ID (DEFFILE_BASEID-21)
#define DEFPLAIMAGE_ID (DEFFILE_BASEID-22)
#define DEFCGMFILE_ID (DEFFILE_BASEID-23)
#define DEFBUMPMAP_ID (DEFFILE_BASEID-24)
#define DEFMDLLOAD_ID (DEFFILE_BASEID-25)
#define DEFLSTYLE_ID (DEFFILE_BASEID-26)
#define DEFHELPFILE_ID (DEFFILE_BASEID-27)
#define DEFSEEDFILE_ID (DEFFILE_BASEID-28)
#define DEFCELLSEED_ID (DEFFILE_BASEID-29)
#define DEFDRAWCOMPMODEL_ID (DEFFILE_BASEID-30)
#define DEFDRAWCOMPSHEET_ID (DEFFILE_BASEID-31)
#define DEFDRAWCOMPSEED_ID (DEFFILE_BASEID-32)
#define DEFFONTINSTDEST_ID (DEFFILE_BASEID-33)
#define DEFRASTERREF_ID (DEFFILE_BASEID-34)
#define DEFSATWRITE_ID (DEFFILE_BASEID-35)
#define DEFSATREAD_ID (DEFFILE_BASEID-36)
#define DEFROMULUSREAD_ID (DEFFILE_BASEID-37)
#define DEFSETTINGSFILE_ID (DEFFILE_BASEID-38)
#define DEFBORDERFILE_ID (DEFFILE_BASEID-39)
#define DEFSAVESHEETAS_ID (DEFFILE_BASEID-40)
#define DEFTAGLIB_ID (DEFFILE_BASEID-41)
#define DEFCELLSELFILE_ID (DEFFILE_BASEID-42)
#define DEFPARTFILE_ID (DEFFILE_BASEID-43)
#define DEFMACROFILE_ID (DEFFILE_BASEID-44)
#define DEFBUILDERFILE_ID (DEFFILE_BASEID-45)
#define DEFMODELERREPORT_ID (DEFFILE_BASEID-46)
#define DEFSTLFILE_ID (DEFFILE_BASEID-47)
#define DEFEDGESFILE_ID (DEFFILE_BASEID-48)
#define DEFICONEDITFILE_ID (DEFFILE_BASEID-49)
#define DEFANIMATORFILE_ID (DEFFILE_BASEID-50)
#define DEFGLOSSARYFILE_ID (DEFFILE_BASEID-51)
#define DEFPENTABLEMACRO_ID (DEFFILE_BASEID-52)
#define DEFPENTABLE_ID (DEFFILE_BASEID-53)
#define DEFPLOTOUTPUT_ID (DEFFILE_BASEID-54)
#define DEFGRDFILE_ID (DEFFILE_BASEID-55)
#define DEFLEVSYMB_ID (DEFFILE_BASEID-56)
#define DEFRDEFILE_ID (DEFFILE_BASEID-57)
#define DEFRENDERCONT_ID (DEFFILE_BASEID-58)
#define DEFPLOTINI_ID (DEFFILE_BASEID-59)
#define DEFDWGWCTBL_ID (DEFFILE_BASEID-60)
#define DEFDWGC0TBL_ID (DEFFILE_BASEID-61)
#define DEFDWGCHTBL_ID (DEFFILE_BASEID-62)
#define DEFDWGWTTBL_ID (DEFFILE_BASEID-63)
#define DEFDWGLVTBL_ID (DEFFILE_BASEID-64)
#define DEFDWGLCTBL_ID (DEFFILE_BASEID-65)
#define DEFDWGEXPSETFILE_ID (DEFFILE_BASEID-66)
#define DEFDWGIMPSETFILE_ID (DEFFILE_BASEID-67)
#define DEFDWGMACROFILE_ID (DEFFILE_BASEID-68)
#define DEFCGMFTTBL_ID (DEFFILE_BASEID-69)
#define DEFCGMLVTBL_ID (DEFFILE_BASEID-70)
#define DEFCGMLCTBL_ID (DEFFILE_BASEID-71)
#define DEFCGMWTTBL_ID (DEFFILE_BASEID-72)
#define DEFCGMEXPSETFILE_ID (DEFFILE_BASEID-73)
#define DEFCGMIMPSETFILE_ID (DEFFILE_BASEID-74)
#define DEFIGSEXPSETFILE_ID (DEFFILE_BASEID-75)
#define DEFIGSIMPSETFILE_ID (DEFFILE_BASEID-76)
#define DEFIGSSTARTFILE_ID (DEFFILE_BASEID-77)
#define DEFSAVEMULTFILE_ID (DEFFILE_BASEID-78)
#define DEFFILE_LOWESTID DEFFILE_BASEID-999900
/*----------------------------------------------------------------------+
| |
| Typedefs |
| |
+----------------------------------------------------------------------*/
typedef struct v1defaultfileinfo
{
byte signature; /* Signature byte to distinguish from old format. */
ULong version; /* Version of default file info. */
char fileName [MAXFILELENGTH];
char fileFilter [MAXFILELENGTH];
} V1DefaultFileInfo;
typedef struct v2defaultfileinfo
{
byte signature; /* Signature byte to distinguish from old format. */
ULong version; /* Version of default file info. */
char fileName [MAXFILELENGTH];
char fileFilter [MAXFILELENGTH];
char defDir [MAXDIRLENGTH];
} V2DefaultFileInfo;
typedef struct defaultfileinfo
{
byte signature; /* Signature byte to distinguish from old format. */
ULong version; /* Version of default file info. */
char fileName [MAXFILELENGTH];
char fileFilter [MAXFILELENGTH];
char defDir [MAXDIRLENGTH];
/* save a history of files, filters, logicals, and directories */
ULong numSavedFiles;
char savedFiles [DEFFILE_MAX_SAVED][MAXFILELENGTH];
ULong numSavedFilters;
char savedFilters [DEFFILE_MAX_SAVED][MAXNAMELENGTH];
ULong numSavedLogicals;
char savedLogicals [DEFFILE_MAX_SAVED][MAXNAMELENGTH];
ULong numSavedDirs;
char savedDirs [DEFFILE_MAX_SAVED][MAXDIRLENGTH];
} DefaultFileInfo;
#endif /* !defined __deffilesH__ */