Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
3.7 KiB

  1. //////////////////////////////////////////////////////////////////////
  2. // LtaStd.h: interface for the LtaStd class.
  3. //
  4. //////////////////////////////////////////////////////////////////////
  5. #if !defined(AFX_LTASTD_H__3FC374A5_4447_11D2_8DA4_204C4F4F5020__INCLUDED_)
  6. #define AFX_LTASTD_H__3FC374A5_4447_11D2_8DA4_204C4F4F5020__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #include "ProjectDataStructs.h"
  11. ////////////////////////////////////////////////////////////////////
  12. const LPTSTR _FILEEXT_RRI = _T("rri");
  13. const LPTSTR _FILEDOTEXT_RRI = _T(".rri");
  14. const LPTSTR _FILEFILETER_RRI = _T("RRI Files (*.rri)|*.rri||");
  15. const LPTSTR _FILEEXT_MAP = _T("map");
  16. const LPTSTR _FILEDOTEXT_MAP = _T(".map");
  17. const LPTSTR _FILEFILETER_MAP = _T("MAP Files (*.map)|*.map||");
  18. const LPTSTR _FILEEXT_LOG = _T("log");
  19. const LPTSTR _FILEDOTEXT_LOG = _T(".log");
  20. const LPTSTR _FILEFILETER_LOG = _T("Log Files (*.log)|*.Log||");
  21. const LPTSTR _FILEEXT_BUGRPORT= _T("dat");
  22. const LPTSTR _FILEDOTEXT_BUGRPORT= _T(".dat");
  23. const LPTSTR _FILEFILETER_BUGRPORT= _T("Bug Report Files (*.dat)|*.dat||");
  24. const LPTSTR _FILEEXT_PROJECT = _T("xml");
  25. const LPTSTR _FILEDOTEXT_PROJECT = _T(".xml");
  26. const LPTSTR _FILEFILETER_PROJECT = _T("Project Files (*.xml)|*.xml||");
  27. const LPTSTR _FILEEXT_APPLICATION =_T("Exe");
  28. const LPTSTR _FILEDOTEXT_APPLICATION =_T(".Exe");
  29. const LPTSTR _FILEFILETER_APPLICATION = _T("Application Files (*.exe)|*.exe||");
  30. ////////////////////////////////////////////////////////////////////
  31. enum enumPopUpMenuIndex
  32. {
  33. POPMENUINDEX_PROJECTVIEW = 0,
  34. POPMENUINDEX_APPMENUS = 3,
  35. POPMENUINDEX_APPOPTIONS = 4,
  36. POPMENUINDEX_RICHEDIT = 6,
  37. POPMENUINDEX_TESTBUGREPORT = 7,
  38. POPMENUINDEX_CTRLOPTIONS = 8,
  39. POPMENUINDEX_RRIVIEW = 9,
  40. POPMENUINDEX_RRICHECKTREE = 10,
  41. };
  42. ////////////////////////////////////////////////////////////////////
  43. ////////////////////////////////////////////////////////////////////
  44. /////////////////////////////////////////////////////////////////
  45. typedef struct FormatInfo
  46. {
  47. LPTSTR m_szFormatName;
  48. bool m_bSuper;
  49. } FORMATINFO, FAR* LPFORMATINFO;
  50. /////////////////////////////////////////////////////////////////
  51. typedef struct ElementAction
  52. {
  53. LPTSTR m_szElementAction;
  54. bool m_bSuper;
  55. } ELEMENTACTION, FAR* LPELEMENTACTION;
  56. /////////////////////////////////////////////////////////////////
  57. typedef struct ElementInfo
  58. {
  59. ElementAction* m_rgElementActions;
  60. FormatInfo* m_rgResType;
  61. LPTSTR* m_rgszElementLocations;
  62. bool m_bSupportClassName;
  63. bool m_bSupportCaption;
  64. bool m_bSupportID;
  65. bool m_bSupportScripting;
  66. bool m_bSuper;
  67. } ELEMENTINFO, FAR* LPELEMENTINFO;
  68. /////////////////////////////////////////////////////////////////
  69. typedef struct Element
  70. {
  71. LPCTSTR m_szElementName;
  72. LPELEMENTINFO m_pElementInfo;
  73. } ELEMENT, FAR* LPELEMENT;
  74. //////////////////////////////////////////////////////////////////
  75. typedef class CCheckListItem
  76. {
  77. public:
  78. // Inline
  79. CCheckListItem(BOOL bChecked, BOOL bBold, LPTSTR strItemText)
  80. : m_bChecked(bChecked), m_bBold(bBold), m_strItemText(strItemText)
  81. {
  82. }
  83. // Inline
  84. virtual ~CCheckListItem()
  85. {
  86. }
  87. public:
  88. BOOL m_bChecked;
  89. BOOL m_bBold;
  90. CString m_strItemText;
  91. } CCHECKLISTITEM, FAR* LPCCHECKLISTITEM;
  92. ////////////////////////////////////////////////////////////////////
  93. // Global Externs.
  94. ////////////////////////////////////////////////////////////////////
  95. extern Element g_rgElements[];
  96. ////////////////////////////////////////////////////////////////////
  97. #endif // !defined(AFX_LTASTD_H__3FC374A5_4447_11D2_8DA4_204C4F4F5020__INCLUDED_)