home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // BtsConst.hpp - dcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: BtsConst.pas
- //----------------------------------------------------------------------------
- #ifndef BtsConstHPP
- #define BtsConstHPP
- //----------------------------------------------------------------------------
- #include <System.hpp>
- namespace Btsconst
- {
- //-- type declarations -------------------------------------------------------
- enum TQueryDataType { qdBugData, qdResolution, qdVerification, qdAudit, qdLookup };
-
- typedef Set<TQueryDataType, qdBugData, qdLookup> TQueryFlags;
-
- enum TUserRightsElement { urEntry, urDirectEntry, urResolve, urVerify, urAssign, urEdit, urAdmin, urReview
- };
-
- typedef Set<TUserRightsElement, urEntry, urReview> TUserRights;
-
- //-- var, const, procedure ---------------------------------------------------
- #define BtsVersion "3.0"
- #define fnConfig "BTS.INI"
- #define fnBtsBmp "BTS.BMP"
- #define fnStatLook "STATLOOK.INI"
- #define fnUserList "USERLIST.INI"
- #define fnBtsDown "BTSDOWN.TXT"
- #define fnBugData "BUGDATA.DB"
- #define fnAdminLib "BTSADMIN.DLL"
- #define tnBugData "BUGDATA"
- #define tnAudit "AUDIT"
- #define tnStatus "STATUS"
- #define tnCategory "CATEGORY"
- #define tnPriority "PRIORITY"
- #define tnUser "USER"
- #define tnProduct "PRODUCT"
- #define tnOutline "OUTLINE"
- #define tnPrgrmrs "PRGRMRS"
- #define tnGroup "GROUP"
- #define tnFieldMap "FIELDMAP"
- #define tnEspBugs "ESPBUGS"
- #define tnDeleted "DLTDBUGS"
- #define tnHowFound "HOWFOUND"
- #define tnResolve "RESOLVE"
- #define tnVerify "VERIFY"
- #define tnCouncil "COUNCIL"
- #define tnBugList "BUGLIST"
- #define tnDBList "DBLIST"
- #define tnBugDatBase "BUGDAT%2.2d"
- #define tnAuditBase "AUDIT%2.2d"
- #define tnDescKeys "DESCKEYS.DB"
- #define pnTables "TABLES\"
- #define csConfig "Config"
- #define csBldSect "Build Number"
- #define csVerSect "Version"
- #define csFoundBy "Found By"
- #define csSubBy "Submitted By"
- #define csProgrammer "Programmer"
- #define csResStatMap "Res_Status_Map"
- #define csVerStatMap "Ver_Status_Map"
- #define csDefaults "Defaults"
- #define csCurrUsers "Current Users"
- #define csUserHist "User History"
- #define csDBNames "Databases"
- #define csPrinting "Printing"
- #define csStatLookMap "StatLookMappings"
- #define ckVerLabel "VersionLabel"
- #define ckFontName "FontName"
- #define ckFontSize "FontSize"
- #define ckFontStyle "FontStyle"
- #define ckFormTop "FormTop"
- #define ckFormLeft "FormLeft"
- #define ckConfirm "Confirmation"
- #define ckAutoSave "AutoSave"
- #define ckNoQueryType "NoQueryTypeAssist"
- #define ckSuperAdmin "SuperAdmin"
- #define ckBugHunt "Bughunt"
- #define ckAuxTab "AuxTab"
- #define ckAuxTabDesc "AuxTabDesc"
- #define ckCount "Count"
- #define ckPrivDir "PrivDir"
- #define ckBtsDir "BtsDir"
- #define ckBtsName "BtsName"
- #define ckUserName "UserName"
- #define ckNetControlDir "NetControlDir"
- #define ckNewBugNumber "NewBugNumber"
- #define ckDefaultRights "DefaultRights"
- #define ckAttachDir "AttachDir"
- #define ckAdmin "Admin"
- #define ckIndOpen "indOpen"
- #define ckIndInEntry "indInEntry"
- #define ckIndNeedsRev "indReview"
- #define ckIndFromEsp "indFromEsp"
- #define ckIndRejected "indRejected"
- #define ckIndResolved "indResolved"
- #define ckIndFixed "indFixed"
- #define ckTablePW "FormPos"
- #define ckLocalTestDir "LocalTestDir"
- #define ckRequireLeaf "RequireLeafNode"
- #define ckDisplayOtl "DisplayOutline"
- #define ckAssignTester "AssignTester"
- #define ckDefQA "DefaultQA"
- #define ckDefRD "DefaultR&D"
- #define ckFieldSize "Fieldsize"
- #define ckUsePlusBuild "UsePlusBuild"
- #define SInitIdapi "Initializing BDE"
- #define SOpenTables "Opening Tables"
- #define SLoadingForm "Loading forms"
- #define SDeletingBug "Deleting Bug"
- #define SAllBugs "All Bugs"
- #define SNoFileName "No Filename specified"
- #define SNewBugInit "Initializing new bug"
- #define SNetName "NetName"
- #define SResIn "Resolved in "
- #define SResolution "Resolution"
- #define SBugSave "Saving bug"
- #define SUpdating "Updating..."
- #define SLocked "Locked"
- #define SSelectPri "Select Priority"
- #define SSelectCat "Select Category"
- #define SSelectArea "Select Area"
- #define SSelectRes "Select Resolution"
- #define SSelectProd "Select Product"
- #define SViewAtPri "View bugs at or above priority"
- #define SViewAtCat "View bugs at or above category"
- #define SViewArea "View bugs in program area"
- #define SViewRes "View bugs with Resolution"
- #define SViewProd "View bugs of Product type"
- #define SResComCap " Comments"
- #define SPrinting "Printing"
- #define SDelNewQuery "Delete unfinished bug?"
- #define SDeleteQuery "Delete this bug?"
- #define SCancelQuery "Cancel Changes?"
- #define SRebuildQuery "Rebuild word index?"
- #define SSaveQuery "Record has been changed. Save changes?"
- #define SFinishBug "Finish this new bug before starting another."
- #define SGotoBug "Goto Bug"
- #define SBugNumLbl "Bug Number:"
- #define SGotoRec "Goto Record"
- #define SRecNoLbl "Record Number:"
- #define SLocateValue "Locate Value"
- #define SLocateField "\"%s\" Value:"
- #define SLocateNoMatch "\"%s\" not found"
- #define SRecNotFound "Record not found"
- #define SResPage "&Resolve"
- #define SESPPage "E&SP"
- #define SFromESPCap "Bugs from ESP"
- #define SNoResInfo "No resolution info."
- #define SBlankQuery "Query is blank"
- #define SShellExecErr "ShellExec Error: "
- #define SFileNotFound "File not found: "
- #define SNoAssocApp "No application associated with this file extension"
- #define SBuildIndex "Building word index"
- #define SQuery "Query"
- #define SMessage "Message"
- #define SQuerySect "Queries"
- #define SUntitledQuery "Untitled Query"
- #define SQueryName "Query Name:"
- #define SQNameQueryCap "Enter Query Name"
- #define SEnterFileName "Enter FileName"
- #define SUpdateTabPath "Path to table with list of bug numbers:"
- #define SEditComment "Edit Comment"
- #define SViewComment "View Comment"
- #define SNoQueryName "Query must have a name"
- #define SRunningQuery "Running Query"
- #define SNoQryAutoSave "NoQueryAutoSave"
- #define SEspSetup "Setting up ESP Review form"
- #define SSystemDownCap "System Down Message"
- #define SSelectDBCap "Select a Database"
- #define SDestDBPrompt "Destination Database:"
- #define SXferMessage "Transfering Record(s)"
- #define SInvFldName "Invalid field name"
- #define SNoQryLocate "Locate not supported on a query result"
- #define SNoNewValue "New value not specified"
- #define SChgAllConfirm "Blank old value will change all records, is this OK?"
- #define SSystemDisabled "System is now disabled\r\nDelete BTSDOWN.TXT to re-enable"
- #define SFileHandlesLow "Ran out of file handles creating this form, Add \"File Han"\
- "dles = 100\" to NET.CFG to avoid problems"
- #define SXferAgainErr "Use 'Transfer Current' first to select a target Database"
- #define SGuestMsg "As a guest of this BTS system, you can view bugreports but"\
- " you cannot modify or enter bug reports."
- #define SCurrBugInvalid "Current record is no longer valid.\r\nNow viewing all bugs"\
- ""
- #define STransferMsg "This command will transfer all the records in the current "\
- "working set to another database. Do you want to do this?"
- #define SBatUpateMsg "Proceed with batch update?"
- #define CR (char)(13)
- #define LF (char)(10)
- #define ESC (char)(27)
- #define CRLF "\x02\r\n\x02\x06E1"
- #define MinAudRecNo (short)(-32767)
- #define MaxAudRecNo (short)(32767)
- #define SDash " - "
- #define SSpace (char)(32)
- #define SUnderbar (char)(95)
- #define SDots ".."
- #define SEmptyStr ""
- #define exBugNo "_BN"
- #define exCurRes "_CR"
- #define exCurVer "_CV"
- #define SNone "None"
- #define STrue "TRUE"
- #define SYes "YES"
- #define SOldValue "Old Value:\r\n"
- #define SNewValue "\r\nNew Value:\r\n"
- #define SSeeComment "See Comment"
- #define SSeeField "See Field"
- #define SConfigFile "ConfigFile"
- #define SIndex "Index"
- #define SSubjectID "SubjectID"
- #define SSubject "Subject"
- #define SRoot "Root"
- #define SBatPath "BatPath"
- #define SBlank "BLANK"
- #define SNotBlank "NOT BLANK"
- #define SGroup "Group"
- #define SNotResolved "Not Resolved"
- #define SReserveHandles "ReserveFileHandles"
- #define SRequireNetID "RequireNetID"
- #define SLogin "Login: %s %s"
- #define SLogout "%s Logout: %s %s"
- #define SMaxWinVer "MaxWinVer"
- #define SLocalTestDir "Local Test Directory"
- #define SCopyAttach "Copy Attachment"
- #define SFileName "File Name"
- #define SCurrentUsers "Current Users"
- #define SDBLongDesc "&%d) Database Description"
- #define SDBShortDesc "DBDESC%d"
- #define SPlaceHolder "Place Holder"
- #define SBugs "%s bugs"
- #define SOpen "Open"
- #define SPriGTCap ", Priority >= "
- #define SCatGTCap ", Category >= "
- #define SOpenPriCap "Open, Priority >= %s"
- #define SOpenCatCap "Open, Category >= %s"
- #define SOpenAsgnArea "Assigned Bugs in Area - %s"
- #define SOpenArea "Open Bugs in Area - %s"
- #define SByAreaCap "All Bugs in Area - %s"
- #define SResByArea "Resolved Bugs in Area - %s"
- #define SAsgnCap "Open, Assigned to %s"
- #define SSubBy "All bugs submitted by %s"
- #define SOpenProdCap "Open, Product = %s"
- #define SResWithRes "Resolved Bugs with Resolution = %s"
- #define SResSubByCap "Resolved bugs submitted by %s"
- #define SReOpened "Re-Opened Bugs assigned to %s"
- #define SCopyError "Error copying file (%d)"
- #define SUnknownUser "Cannot determine network name"
- #define SBadSysCfgFile "Bad or missing system config file: "
- #define SRecNotLocked "Record not locked"
- #define SInvalidBugSave "Saved bug information is invalid, updates not written"
- #define SResComSave "Invalid resolution link"
- #define SAuditWriteErr "Error updating audit trail, changes not saved"
- #define SStatLookErr "Error reading static lookup section: [%s]"
- #define SNoStatMapping "Could not determine new status from resolution"
- #define SNoRecords "No matching records"
- #define SVerNotBlank "Cannot blank resolution, verification already entered"
- #define SNoResolution "Bug has not been Resolved"
- #define SCantGetBugNo "Error getting next bug number"
- #define SBadOutline "Could not read outline table"
- #define SInitNewBug "Could not initialize new bug"
- #define SMissingConfig "Cannot find config file: "
- #define SSystemDown "System is down for maintenance"
- #define SPasteError "Bug Paste only allowed on a new bug"
- #define SNoDeletedTab "Deleted bug table is missing"
- #define SNotNeedReview "Bug is not set to \"Needs Review\""
- #define SInvalidField "Invalid %s value: %s"
- #define SCantFindTables "Cannot find BTS Tables in "
- #define SInvalidBtsDir "Invalid BTS Directory: "
- #define SCantBeBlank "%s cannot be blank"
- #define SMissingAttach "Missing Attachment: %s"
- #define SRights1 "Insufficient Rights:\n\rYou do not have the \""
- #define SRights2 "\" rights that are required to perform this operation"
- #define SConfigInit "Config file not initialized"
- #define SMustAddComment "Must add a comment before rejecting bug"
- #define SNoEspBugRec "No linked record in ESPBUGS"
- #define SNeedEspReview "Bug must first be processed through ESP Review"
- #define SHandleErr "Insufficient file handles to run safely.\r\nRequired: %d, "\
- "Available %d\r\nAdd FILE HANDLES = 100 to your NET.CFG fil"\
- "e"
- #define SClipFormat "PasteBug called with wrong clipboard format"
- #define SOpSysVer "Unsupported Operating System Version: %f"
- #define SInvChgList "Invalid Changelist state"
- #define SStatUpdErr "Error updating [%s] section of STATLOOK.INI from %s table."\
- "\r\nMessage: %s"
- #define SAlreadyExists "%s already exists"
- #define SInvalidDBDesc "Invalid DB Description: %s"
- #define SXferKeyViol "Bug# %d already exists in destination database"
- #define SXferAborted "Batch transfer aborted"
- #define SUpdateFailed "One or more records could not be updated"
- #define SLeafNodeReq "Must select leaf node from outline"
- #define SNotSupported "Not Supported"
- #define SLoadError "Error loading %s [%d]"
- #define SBatchRange "Cannot update a range based working set"
- #define urAllRights 0xFF
- #define SRightsChars "EDRVGIAW"
- extern char *SRights[8];
- extern char *UserSects[3];
- extern int UserCnts[3];
- extern char RightChars[3];
- //-- template instantiations -------------------------------------------------
- template class TUserRights ;
- template class TQueryFlags ;
-
- } /* namespace Btsconst */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Btsconst;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // BtsConst
-