home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / BTSCONST.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  12KB  |  310 lines

  1. //----------------------------------------------------------------------------
  2. // BtsConst.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: BtsConst.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef BtsConstHPP
  6. #define BtsConstHPP
  7. //----------------------------------------------------------------------------
  8. #include <System.hpp>
  9. namespace Btsconst
  10. {
  11. //-- type declarations -------------------------------------------------------
  12. enum TQueryDataType { qdBugData, qdResolution, qdVerification, qdAudit, qdLookup };
  13.  
  14. typedef Set<TQueryDataType, qdBugData, qdLookup>  TQueryFlags;
  15.  
  16. enum TUserRightsElement { urEntry, urDirectEntry, urResolve, urVerify, urAssign, urEdit, urAdmin, urReview 
  17.     };
  18.  
  19. typedef Set<TUserRightsElement, urEntry, urReview>  TUserRights;
  20.  
  21. //-- var, const, procedure ---------------------------------------------------
  22. #define BtsVersion "3.0"
  23. #define fnConfig "BTS.INI"
  24. #define fnBtsBmp "BTS.BMP"
  25. #define fnStatLook "STATLOOK.INI"
  26. #define fnUserList "USERLIST.INI"
  27. #define fnBtsDown "BTSDOWN.TXT"
  28. #define fnBugData "BUGDATA.DB"
  29. #define fnAdminLib "BTSADMIN.DLL"
  30. #define tnBugData "BUGDATA"
  31. #define tnAudit "AUDIT"
  32. #define tnStatus "STATUS"
  33. #define tnCategory "CATEGORY"
  34. #define tnPriority "PRIORITY"
  35. #define tnUser "USER"
  36. #define tnProduct "PRODUCT"
  37. #define tnOutline "OUTLINE"
  38. #define tnPrgrmrs "PRGRMRS"
  39. #define tnGroup "GROUP"
  40. #define tnFieldMap "FIELDMAP"
  41. #define tnEspBugs "ESPBUGS"
  42. #define tnDeleted "DLTDBUGS"
  43. #define tnHowFound "HOWFOUND"
  44. #define tnResolve "RESOLVE"
  45. #define tnVerify "VERIFY"
  46. #define tnCouncil "COUNCIL"
  47. #define tnBugList "BUGLIST"
  48. #define tnDBList "DBLIST"
  49. #define tnBugDatBase "BUGDAT%2.2d"
  50. #define tnAuditBase "AUDIT%2.2d"
  51. #define tnDescKeys "DESCKEYS.DB"
  52. #define pnTables "TABLES\"
  53. #define csConfig "Config"
  54. #define csBldSect "Build Number"
  55. #define csVerSect "Version"
  56. #define csFoundBy "Found By"
  57. #define csSubBy "Submitted By"
  58. #define csProgrammer "Programmer"
  59. #define csResStatMap "Res_Status_Map"
  60. #define csVerStatMap "Ver_Status_Map"
  61. #define csDefaults "Defaults"
  62. #define csCurrUsers "Current Users"
  63. #define csUserHist "User History"
  64. #define csDBNames "Databases"
  65. #define csPrinting "Printing"
  66. #define csStatLookMap "StatLookMappings"
  67. #define ckVerLabel "VersionLabel"
  68. #define ckFontName "FontName"
  69. #define ckFontSize "FontSize"
  70. #define ckFontStyle "FontStyle"
  71. #define ckFormTop "FormTop"
  72. #define ckFormLeft "FormLeft"
  73. #define ckConfirm "Confirmation"
  74. #define ckAutoSave "AutoSave"
  75. #define ckNoQueryType "NoQueryTypeAssist"
  76. #define ckSuperAdmin "SuperAdmin"
  77. #define ckBugHunt "Bughunt"
  78. #define ckAuxTab "AuxTab"
  79. #define ckAuxTabDesc "AuxTabDesc"
  80. #define ckCount "Count"
  81. #define ckPrivDir "PrivDir"
  82. #define ckBtsDir "BtsDir"
  83. #define ckBtsName "BtsName"
  84. #define ckUserName "UserName"
  85. #define ckNetControlDir "NetControlDir"
  86. #define ckNewBugNumber "NewBugNumber"
  87. #define ckDefaultRights "DefaultRights"
  88. #define ckAttachDir "AttachDir"
  89. #define ckAdmin "Admin"
  90. #define ckIndOpen "indOpen"
  91. #define ckIndInEntry "indInEntry"
  92. #define ckIndNeedsRev "indReview"
  93. #define ckIndFromEsp "indFromEsp"
  94. #define ckIndRejected "indRejected"
  95. #define ckIndResolved "indResolved"
  96. #define ckIndFixed "indFixed"
  97. #define ckTablePW "FormPos"
  98. #define ckLocalTestDir "LocalTestDir"
  99. #define ckRequireLeaf "RequireLeafNode"
  100. #define ckDisplayOtl "DisplayOutline"
  101. #define ckAssignTester "AssignTester"
  102. #define ckDefQA "DefaultQA"
  103. #define ckDefRD "DefaultR&D"
  104. #define ckFieldSize "Fieldsize"
  105. #define ckUsePlusBuild "UsePlusBuild"
  106. #define SInitIdapi "Initializing BDE"
  107. #define SOpenTables "Opening Tables"
  108. #define SLoadingForm "Loading forms"
  109. #define SDeletingBug "Deleting Bug"
  110. #define SAllBugs "All Bugs"
  111. #define SNoFileName "No Filename specified"
  112. #define SNewBugInit "Initializing new bug"
  113. #define SNetName "NetName"
  114. #define SResIn "Resolved in "
  115. #define SResolution "Resolution"
  116. #define SBugSave "Saving bug"
  117. #define SUpdating "Updating..."
  118. #define SLocked "Locked"
  119. #define SSelectPri "Select Priority"
  120. #define SSelectCat "Select Category"
  121. #define SSelectArea "Select Area"
  122. #define SSelectRes "Select Resolution"
  123. #define SSelectProd "Select Product"
  124. #define SViewAtPri "View bugs at or above priority"
  125. #define SViewAtCat "View bugs at or above category"
  126. #define SViewArea "View bugs in program area"
  127. #define SViewRes "View bugs with Resolution"
  128. #define SViewProd "View bugs of Product type"
  129. #define SResComCap " Comments"
  130. #define SPrinting "Printing"
  131. #define SDelNewQuery "Delete unfinished bug?"
  132. #define SDeleteQuery "Delete this bug?"
  133. #define SCancelQuery "Cancel Changes?"
  134. #define SRebuildQuery "Rebuild word index?"
  135. #define SSaveQuery "Record has been changed.  Save changes?"
  136. #define SFinishBug "Finish this new bug before starting another."
  137. #define SGotoBug "Goto Bug"
  138. #define SBugNumLbl "Bug Number:"
  139. #define SGotoRec "Goto Record"
  140. #define SRecNoLbl "Record Number:"
  141. #define SLocateValue "Locate Value"
  142. #define SLocateField "\"%s\" Value:"
  143. #define SLocateNoMatch "\"%s\" not found"
  144. #define SRecNotFound "Record not found"
  145. #define SResPage "&Resolve"
  146. #define SESPPage "E&SP"
  147. #define SFromESPCap "Bugs from ESP"
  148. #define SNoResInfo "No resolution info."
  149. #define SBlankQuery "Query is blank"
  150. #define SShellExecErr "ShellExec Error: "
  151. #define SFileNotFound "File not found: "
  152. #define SNoAssocApp "No application associated with this file extension"
  153. #define SBuildIndex "Building word index"
  154. #define SQuery "Query"
  155. #define SMessage "Message"
  156. #define SQuerySect "Queries"
  157. #define SUntitledQuery "Untitled Query"
  158. #define SQueryName "Query Name:"
  159. #define SQNameQueryCap "Enter Query Name"
  160. #define SEnterFileName "Enter FileName"
  161. #define SUpdateTabPath "Path to table with list of bug numbers:"
  162. #define SEditComment "Edit Comment"
  163. #define SViewComment "View Comment"
  164. #define SNoQueryName "Query must have a name"
  165. #define SRunningQuery "Running Query"
  166. #define SNoQryAutoSave "NoQueryAutoSave"
  167. #define SEspSetup "Setting up ESP Review form"
  168. #define SSystemDownCap "System Down Message"
  169. #define SSelectDBCap "Select a Database"
  170. #define SDestDBPrompt "Destination Database:"
  171. #define SXferMessage "Transfering Record(s)"
  172. #define SInvFldName "Invalid field name"
  173. #define SNoQryLocate "Locate not supported on a query result"
  174. #define SNoNewValue "New value not specified"
  175. #define SChgAllConfirm "Blank old value will change all records, is this OK?"
  176. #define SSystemDisabled "System is now disabled\r\nDelete BTSDOWN.TXT to re-enable"
  177. #define SFileHandlesLow "Ran out of file handles creating this form, Add \"File Han"\
  178.     "dles  = 100\" to NET.CFG to avoid problems"
  179. #define SXferAgainErr "Use 'Transfer Current' first to select a target Database"
  180. #define SGuestMsg "As a guest of this BTS system, you can view bugreports but"\
  181.     " you cannot modify or enter bug reports."
  182. #define SCurrBugInvalid "Current record is no longer valid.\r\nNow viewing all bugs"\
  183.     ""
  184. #define STransferMsg "This command will transfer all the records in the current "\
  185.     "working set to another database.  Do you want to do this?"
  186. #define SBatUpateMsg "Proceed with batch update?"
  187. #define CR (char)(13)
  188. #define LF (char)(10)
  189. #define ESC (char)(27)
  190. #define CRLF "\x02\r\n\x02\x06E1"
  191. #define MinAudRecNo (short)(-32767)
  192. #define MaxAudRecNo (short)(32767)
  193. #define SDash " - "
  194. #define SSpace (char)(32)
  195. #define SUnderbar (char)(95)
  196. #define SDots ".."
  197. #define SEmptyStr ""
  198. #define exBugNo "_BN"
  199. #define exCurRes "_CR"
  200. #define exCurVer "_CV"
  201. #define SNone "None"
  202. #define STrue "TRUE"
  203. #define SYes "YES"
  204. #define SOldValue "Old Value:\r\n"
  205. #define SNewValue "\r\nNew Value:\r\n"
  206. #define SSeeComment "See Comment"
  207. #define SSeeField "See Field"
  208. #define SConfigFile "ConfigFile"
  209. #define SIndex "Index"
  210. #define SSubjectID "SubjectID"
  211. #define SSubject "Subject"
  212. #define SRoot "Root"
  213. #define SBatPath "BatPath"
  214. #define SBlank "BLANK"
  215. #define SNotBlank "NOT BLANK"
  216. #define SGroup "Group"
  217. #define SNotResolved "Not Resolved"
  218. #define SReserveHandles "ReserveFileHandles"
  219. #define SRequireNetID "RequireNetID"
  220. #define SLogin "Login: %s %s"
  221. #define SLogout "%s Logout: %s %s"
  222. #define SMaxWinVer "MaxWinVer"
  223. #define SLocalTestDir "Local Test Directory"
  224. #define SCopyAttach "Copy Attachment"
  225. #define SFileName "File Name"
  226. #define SCurrentUsers "Current Users"
  227. #define SDBLongDesc "&%d) Database Description"
  228. #define SDBShortDesc "DBDESC%d"
  229. #define SPlaceHolder "Place Holder"
  230. #define SBugs "%s bugs"
  231. #define SOpen "Open"
  232. #define SPriGTCap ", Priority >= "
  233. #define SCatGTCap ", Category >= "
  234. #define SOpenPriCap "Open, Priority >=  %s"
  235. #define SOpenCatCap "Open, Category >=  %s"
  236. #define SOpenAsgnArea "Assigned Bugs in Area - %s"
  237. #define SOpenArea "Open Bugs in Area - %s"
  238. #define SByAreaCap "All Bugs in Area - %s"
  239. #define SResByArea "Resolved Bugs in Area - %s"
  240. #define SAsgnCap "Open, Assigned to %s"
  241. #define SSubBy "All bugs submitted by %s"
  242. #define SOpenProdCap "Open, Product = %s"
  243. #define SResWithRes "Resolved Bugs with Resolution = %s"
  244. #define SResSubByCap "Resolved bugs submitted by %s"
  245. #define SReOpened "Re-Opened Bugs assigned to %s"
  246. #define SCopyError "Error copying file (%d)"
  247. #define SUnknownUser "Cannot determine network name"
  248. #define SBadSysCfgFile "Bad or missing system config file: "
  249. #define SRecNotLocked "Record not locked"
  250. #define SInvalidBugSave "Saved bug information is invalid, updates not written"
  251. #define SResComSave "Invalid resolution link"
  252. #define SAuditWriteErr "Error updating audit trail, changes not saved"
  253. #define SStatLookErr "Error reading static lookup section: [%s]"
  254. #define SNoStatMapping "Could not determine new status from resolution"
  255. #define SNoRecords "No matching records"
  256. #define SVerNotBlank "Cannot blank resolution, verification already entered"
  257. #define SNoResolution "Bug has not been Resolved"
  258. #define SCantGetBugNo "Error getting next bug number"
  259. #define SBadOutline "Could not read outline table"
  260. #define SInitNewBug "Could not initialize new bug"
  261. #define SMissingConfig "Cannot find config file: "
  262. #define SSystemDown "System is down for maintenance"
  263. #define SPasteError "Bug Paste only allowed on a new bug"
  264. #define SNoDeletedTab "Deleted bug table is missing"
  265. #define SNotNeedReview "Bug is not set to \"Needs Review\""
  266. #define SInvalidField "Invalid %s value: %s"
  267. #define SCantFindTables "Cannot find BTS Tables in "
  268. #define SInvalidBtsDir "Invalid BTS Directory: "
  269. #define SCantBeBlank "%s cannot be blank"
  270. #define SMissingAttach "Missing Attachment: %s"
  271. #define SRights1 "Insufficient Rights:\n\rYou do not have the \""
  272. #define SRights2 "\" rights that are required to perform this operation"
  273. #define SConfigInit "Config file not initialized"
  274. #define SMustAddComment "Must add a comment before rejecting bug"
  275. #define SNoEspBugRec "No linked record in ESPBUGS"
  276. #define SNeedEspReview "Bug must first be processed through ESP Review"
  277. #define SHandleErr "Insufficient file handles to run safely.\r\nRequired: %d, "\
  278.     "Available %d\r\nAdd FILE HANDLES = 100 to your NET.CFG fil"\
  279.     "e"
  280. #define SClipFormat "PasteBug called with wrong clipboard format"
  281. #define SOpSysVer "Unsupported Operating System Version: %f"
  282. #define SInvChgList "Invalid Changelist state"
  283. #define SStatUpdErr "Error updating [%s] section of STATLOOK.INI from %s table."\
  284.     "\r\nMessage: %s"
  285. #define SAlreadyExists "%s already exists"
  286. #define SInvalidDBDesc "Invalid DB Description: %s"
  287. #define SXferKeyViol "Bug# %d already exists in destination database"
  288. #define SXferAborted "Batch transfer aborted"
  289. #define SUpdateFailed "One or more records could not be updated"
  290. #define SLeafNodeReq "Must select leaf node from outline"
  291. #define SNotSupported "Not Supported"
  292. #define SLoadError "Error loading %s [%d]"
  293. #define SBatchRange "Cannot update a range based working set"
  294. #define urAllRights 0xFF
  295. #define SRightsChars "EDRVGIAW"
  296. extern char *SRights[8];
  297. extern char *UserSects[3];
  298. extern int UserCnts[3];
  299. extern char RightChars[3];
  300. //-- template instantiations -------------------------------------------------
  301. template class TUserRights ;
  302. template class TQueryFlags ;
  303.  
  304. }    /* namespace Btsconst */
  305. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  306. using namespace Btsconst;
  307. #endif
  308. //-- end unit ----------------------------------------------------------------
  309. #endif    // BtsConst
  310.