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.

83 lines
2.3 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1991 - 1992.
  5. //
  6. // File: curarr.hxx
  7. //
  8. // Contents: Cursor Stack Classes
  9. //
  10. // Classes: CKeyCurStack, COccCurStack, CCurStack
  11. //
  12. // History: 20-Jan-92 AmyA Created
  13. // 22-Aug-92 BartoszM Derived CKeyCurArray
  14. //
  15. //----------------------------------------------------------------------------
  16. #pragma once
  17. #ifdef DISPLAY_INCLUDES
  18. #pragma message( "#include <" __FILE__ ">..." )
  19. #endif
  20. #include <cursor.hxx>
  21. #include <keycur.hxx>
  22. #include <ocursor.hxx>
  23. //+---------------------------------------------------------------------------
  24. //
  25. // Class: CKeyCurStack
  26. //
  27. // Purpose: Class for the management of an Stack of CKeyCursors.
  28. //
  29. // Interface:
  30. //
  31. // History: 20-Jan-92 AmyA Created
  32. //
  33. //----------------------------------------------------------------------------
  34. DECL_DYNSTACK( _CKeyCurStack, CKeyCursor )
  35. class CKeyCurStack: public _CKeyCurStack
  36. {
  37. public:
  38. CKeyCurStack (int size = initStackSize): _CKeyCurStack(size) {}
  39. CKeyCursor* QueryWlCursor(WORKID widMax);
  40. };
  41. //+---------------------------------------------------------------------------
  42. //
  43. // Class: COccCurStack
  44. //
  45. // Purpose: Class for the management of an stack of CKeyCursors.
  46. //
  47. // Interface:
  48. //
  49. // History: 20-Jan-92 AmyA Created
  50. // 20-Oct-92 BartoszM Added QuerySynCursor
  51. //
  52. //----------------------------------------------------------------------------
  53. DECL_DYNSTACK( _COccCurStack, COccCursor )
  54. class COccCurStack: public _COccCurStack
  55. {
  56. public:
  57. COccCurStack ( int size = initStackSize ): _COccCurStack(size) {}
  58. COccCursor* QuerySynCursor( WORKID widMax );
  59. };
  60. //+---------------------------------------------------------------------------
  61. //
  62. // Class: CCurStack
  63. //
  64. // Purpose: Class for the management of an stack of CCursors.
  65. //
  66. // Interface:
  67. //
  68. // History: 05-Feb-92 BartoszM Created
  69. //
  70. //----------------------------------------------------------------------------
  71. DECL_DYNSTACK( CCurStack, CCursor )