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.

34 lines
592 B

  1. /*
  2. *
  3. * NOTES:
  4. *
  5. * REVISIONS:
  6. * pcy11Dec92: Use __APCSORTABLE_ so not to cause conflicts
  7. * pcy14Dec92: Changed Sortable to ApcSortable
  8. *
  9. * pcy08Apr94: Trim size, use static iterators, dead code removal
  10. */
  11. #ifndef __APCSORTABLE_H
  12. #define __APCSORTABLE_H
  13. #include "_defs.h"
  14. #include "apc.h"
  15. #include "apcobj.h"
  16. _CLASSDEF(Obj)
  17. _CLASSDEF(ApcSortable)
  18. class ApcSortable : public Obj
  19. {
  20. protected:
  21. ApcSortable() {};
  22. public:
  23. virtual INT GreaterThan(PApcSortable) = 0;
  24. virtual INT LessThan(PApcSortable) = 0;
  25. };
  26. #endif