Leaked source code of windows server 2003
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.

104 lines
2.8 KiB

  1. /****************************************************************************
  2. Copyright information : Copyright (c) 1998-1999 Microsoft Corporation
  3. File Name : HelpInfo.h
  4. Project Name : WMI Command Line
  5. Author Name : C. V. Nandi
  6. Date of Creation (dd/mm/yy) : 29th-September-2000
  7. Version Number : 1.0
  8. Brief Description : This file consist of class declaration of
  9. class CHelpInfo
  10. Revision History :
  11. Last Modified By : Ch. Sriramachandramurthy
  12. Last Modified Date : 16th-January-2001
  13. ****************************************************************************/
  14. // HelpInfo.h : header file
  15. //
  16. /*--------------------------------------------------------------------------
  17. Class Name : CHelpInfo
  18. Class Type : Concrete
  19. Brief Description : The CHelpInfo class encapsulates the functionality
  20. needed for storing and retrieving help Flag for
  21. displaying help.
  22. Super Classes : None
  23. Sub Classes : None
  24. Classes Used : None
  25. Interfaces Used : None
  26. --------------------------------------------------------------------*/
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CHelpInfo
  29. class CHelpInfo
  30. {
  31. public:
  32. // Construction
  33. CHelpInfo();
  34. // Destruction
  35. ~CHelpInfo();
  36. // Restrict Assignment
  37. CHelpInfo& operator=(CHelpInfo& rHelpInfo);
  38. // Attributes
  39. private:
  40. // Global Switches Help
  41. BOOL m_bGlblAllInfoHelp;
  42. BOOL m_bNameSpaceHelp;
  43. BOOL m_bRoleHelp;
  44. BOOL m_bNodeHelp;
  45. BOOL m_bUserHelp;
  46. BOOL m_bPasswordHelp;
  47. BOOL m_bLocaleHelp;
  48. BOOL m_bRecordPathHelp;
  49. BOOL m_bPrivilegesHelp;
  50. BOOL m_bLevelHelp;
  51. BOOL m_bAuthLevelHelp;
  52. BOOL m_bInteractiveHelp;
  53. BOOL m_bTraceHelp;
  54. BOOL m_bAggregateHelp;
  55. BOOL m_bAuthorityHelp;
  56. // Command Switches Help
  57. BOOL m_bCmdAllInfoHelp;
  58. BOOL m_bGetVerbHelp;
  59. BOOL m_bSetVerbHelp;
  60. BOOL m_bListVerbHelp;
  61. BOOL m_bCallVerbHelp;
  62. BOOL m_bDumpVerbHelp;
  63. BOOL m_bAssocVerbHelp;
  64. BOOL m_bCreateVerbHelp;
  65. BOOL m_bDeleteVerbHelp;
  66. BOOL m_bAliasVerbHelp;
  67. BOOL m_bPATHHelp;
  68. BOOL m_bWHEREHelp;
  69. BOOL m_bCLASSHelp;
  70. BOOL m_bEXITHelp;
  71. BOOL m_bPWhereHelp;
  72. BOOL m_bTRANSLATEHelp;
  73. BOOL m_bEVERYHelp;
  74. BOOL m_bFORMATHelp;
  75. BOOL m_bVERBSWITCHESHelp;
  76. BOOL m_bDESCRIPTIONHelp;
  77. BOOL m_bGETSwitchesOnlyHelp;
  78. BOOL m_bLISTSwitchesOnlyHelp;
  79. BOOL m_bContextHelp;
  80. BOOL m_bGlblSwitchValuesHelp;
  81. BOOL m_bRESULTCLASSHelp;
  82. BOOL m_bRESULTROLE;
  83. BOOL m_bASSOCCLASS;
  84. BOOL m_bASSOCSwitchesOnlyHelp;
  85. BOOL m_bFAILFASTHelp;
  86. BOOL m_bREPEATHelp;
  87. BOOL m_bOUTPUTHelp;
  88. BOOL m_bAPPENDHelp;
  89. // Operations
  90. public :
  91. //Initializes the member variables
  92. void Initialize();
  93. //sets the help flag for the item specified by htHelp argument
  94. void SetHelp( HELPTYPE htHelp, BOOL bFlag );
  95. //Gets the help flag for the item specified by htHelp argument
  96. BOOL GetHelp( HELPTYPE htHelp );
  97. };