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.

49 lines
1017 B

  1. // Active Directory Display Specifier Upgrade Tool
  2. //
  3. // Copyright (c) 2001 Microsoft Corporation
  4. //
  5. // class ChangedObjectHandlerList
  6. //
  7. // 14 Mar 2001 sburns
  8. #ifndef CHANGEDOBJECTHANDLERLIST_HPP_INCLUDED
  9. #define CHANGEDOBJECTHANDLERLIST_HPP_INCLUDED
  10. class ChangedObjectHandler;
  11. // A fixed collection of instances of ChangedObjectHandler that has the
  12. // same public interface as std::list
  13. class ChangedObjectHandlerList
  14. :
  15. public std::list<ChangedObjectHandler*>
  16. {
  17. public:
  18. ChangedObjectHandlerList();
  19. ~ChangedObjectHandlerList();
  20. // CODEWORK: it would be interesting to see if we can cause the interface to
  21. // be read-only by overriding push_back, pop_front, etc...
  22. private:
  23. // not implemented: no copying allowed
  24. ChangedObjectHandlerList(const ChangedObjectHandlerList&);
  25. const ChangedObjectHandlerList& operator=(const ChangedObjectHandlerList&);
  26. };
  27. #endif // CHANGEDOBJECTHANDLERLIST_HPP_INCLUDED