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.

101 lines
1.7 KiB

  1. // Active Directory Display Specifier Upgrade Tool
  2. //
  3. // Copyright (c) 2001 Microsoft Corporation
  4. //
  5. // class Analyst: analyzes the display specifiers, logs the findings, and
  6. // compiles a set of corrective actions.
  7. //
  8. // 9 Mar 2001 sburns
  9. #ifndef ANALYST_HPP_INCLUDED
  10. #define ANALYST_HPP_INCLUDED
  11. class Amanuensis;
  12. class Repairer;
  13. class ChangedObjectHandler;
  14. class Analyst
  15. {
  16. public:
  17. Analyst(
  18. const String& targetDomainControllerName,
  19. Amanuensis& amanuensis,
  20. Repairer& repairer);
  21. HRESULT
  22. AnalyzeDisplaySpecifiers();
  23. private:
  24. HRESULT
  25. AnalyzeAddedObjects(
  26. int localeId,
  27. const String& containerDn);
  28. HRESULT
  29. AnalyzeChangedObjects(
  30. int localeId,
  31. const String& containerDn);
  32. HRESULT
  33. AnalyzeChangedObject(
  34. int localeId,
  35. const String& containerDn,
  36. const ChangedObjectHandler& changeHandler);
  37. HRESULT
  38. AnalyzeDisplaySpecifierContainers(const String& configurationDn);
  39. HRESULT
  40. AnalyzeDisplaySpecifierContainer(
  41. int localeId,
  42. const String& rootContainerDn);
  43. HRESULT
  44. AnalyzeDisplaySpecifierObjects(
  45. int localeId,
  46. const String& containerDn);
  47. String targetDcName;
  48. String ldapPrefix;
  49. SmartInterface<IADs> rootDse;
  50. Amanuensis& amanuensis;
  51. Repairer& repairer;
  52. // not implemented: no copying allowed.
  53. Analyst(const Analyst&);
  54. const Analyst& operator=(const Analyst&);
  55. };
  56. #endif // ANALYST_HPP_INCLUDED