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.

87 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. print.hxx
  5. Abstract:
  6. Author:
  7. Jaime F. Sasson - jaimes - 12-Jun-1991
  8. Environment:
  9. ULIB, User Mode
  10. --*/
  11. #if ! defined( _PRINT_ )
  12. #define _PRINT_
  13. #include "object.hxx"
  14. #include "keyboard.hxx"
  15. #include "program.hxx"
  16. //
  17. // Forward references
  18. //
  19. DECLARE_CLASS( ARRAY );
  20. DECLARE_CLASS( ARRAY_ITERATOR );
  21. DECLARE_CLASS( PRINT_STREAM );
  22. DECLARE_CLASS( PRINT );
  23. class PRINT : public PROGRAM {
  24. public:
  25. DECLARE_CONSTRUCTOR( PRINT );
  26. NONVIRTUAL
  27. BOOLEAN
  28. Initialize (
  29. );
  30. NONVIRTUAL
  31. BOOLEAN
  32. PrintFiles (
  33. );
  34. NONVIRTUAL
  35. BOOL
  36. Terminate(
  37. );
  38. private:
  39. PSTREAM _StandardOutput;
  40. MULTIPLE_PATH_ARGUMENT _Files;
  41. LONG_ARGUMENT _BufferSize;
  42. LONG_ARGUMENT _Ticks1;
  43. LONG_ARGUMENT _Ticks2;
  44. LONG_ARGUMENT _Ticks3;
  45. LONG_ARGUMENT _NumberOfFiles;
  46. FLAG_ARGUMENT _FlagRemoveFiles;
  47. FLAG_ARGUMENT _FlagCancelPrinting;
  48. FLAG_ARGUMENT _FlagAddFiles;
  49. ARRAY _FsnFileArray;
  50. STREAM_MESSAGE _Message;
  51. PRINT_STREAM _Printer;
  52. };
  53. #endif // _PRINT_