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.

71 lines
1.6 KiB

  1. // Active Directory Display Specifier Upgrade Tool
  2. //
  3. // Copyright (c) 2001 Microsoft Corporation
  4. //
  5. // class ChangedObjectHandler
  6. //
  7. // 14 Mar 2001 sburns
  8. #ifndef CHANGEDOBJECTHANDLER_HPP_INCLUDED
  9. #define CHANGEDOBJECTHANDLER_HPP_INCLUDED
  10. #include "Amanuensis.hpp"
  11. #include "Repairer.hpp"
  12. // An abstract base class for types that deal with the differences in handling
  13. // the display specifier object changes.
  14. //
  15. // Concrete instances of this class are used by the Analyst class to deal with
  16. // differences in the individual display specifer objects. Thus, Analyst and
  17. // ChangedObjectHandler form a variation of the Template Method pattern from
  18. // Gamma, et al. Design Patterns. pp. 325-330 ISBN: 0-201-63361-2
  19. class ChangedObjectHandler
  20. {
  21. public:
  22. // lucios:
  23. // Removed to solve link error
  24. // Either remove it or define it would work
  25. // virtual
  26. // ~ChangedObjectHandler() = 0;
  27. virtual
  28. String
  29. GetObjectName() const = 0;
  30. virtual
  31. HRESULT
  32. HandleChange(
  33. int localeId,
  34. const String& containerDn,
  35. SmartInterface<IADs> iads,
  36. Amanuensis& amanuensis,
  37. Repairer& repairer) const = 0;
  38. };
  39. #endif // CHANGEDOBJECTHANDLER_HPP_INCLUDED
  40. // L"user-Display",
  41. // L"domainDNS-Display",
  42. // L"computer-Display",
  43. // L"organizationalUnit-Display",
  44. // L"container-Display",
  45. // L"default-Display",
  46. // L"nTDSService-Display",
  47. // L"pKICertificateTemplate-Display",