Source code of Windows XP (NT5)
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.

40 lines
1.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1991 - 1992.
  5. //
  6. // File: CURHEAP.CXX
  7. //
  8. // Contents: Implementations for the Cursor Heaps for CMergeCursor,
  9. // CWlCursor, and CSynCursor.
  10. //
  11. // History: 20-Jan-92 BartoszM and AmyA Created
  12. //
  13. // Notes: This code was previously located in mcursor.cxx and
  14. // wlcursor.cxx.
  15. //
  16. //----------------------------------------------------------------------------
  17. #include <pch.cxx>
  18. #pragma hdrstop
  19. #include <curheap.hxx>
  20. // Implement CWidHeapOfOccCur, a heap of cursors ordered according to work id's
  21. IMP_HEAP ( CWidHeapOfOccCur, COccCursor, WidLessThan )
  22. IMP_HEAP_KEY ( CWidHeapOfOccCur, COccCursor, WidLessThan, GetCursorWid, WORKID )
  23. // Implement CWidHeap, a heap of cursors ordered according to work id's
  24. IMP_HEAP ( CWidHeap, CCursor, WidLessThan )
  25. IMP_HEAP_KEY ( CWidHeap, CCursor, WidLessThan, GetCursorWid, WORKID )
  26. // Implement COccHeapofOccCur, a heap of cursors ordered according to
  27. // occurrences
  28. IMP_HEAP ( COccHeapOfOccCur, COccCursor, OccLessThan )
  29. IMP_HEAP_KEY ( COccHeapOfOccCur, COccCursor, OccLessThan, GetCursorOcc, OCCURRENCE )