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.

55 lines
1.0 KiB

  1. // Copyright (c) 1997-2001 Microsoft Corporation
  2. //
  3. // File: PrintInstallationUnit.h
  4. //
  5. // Synopsis: Declares a PrintInstallationUnit
  6. // This object has the knowledge for installing the
  7. // shared printers
  8. //
  9. // History: 02/06/2001 JeffJon Created
  10. #ifndef __CYS_PRINTINSTALLATIONUNIT_H
  11. #define __CYS_PRINTINSTALLATIONUNIT_H
  12. #include "InstallationUnit.h"
  13. class PrintInstallationUnit : public InstallationUnit
  14. {
  15. public:
  16. // Constructor
  17. PrintInstallationUnit();
  18. // Destructor
  19. virtual
  20. ~PrintInstallationUnit();
  21. // Installation Unit overrides
  22. virtual
  23. InstallationReturnType
  24. InstallService(HANDLE logfileHandle, HWND hwnd);
  25. virtual
  26. bool
  27. IsServiceInstalled();
  28. virtual
  29. bool
  30. GetFinishText(String& message);
  31. void
  32. SetClients(bool allclients);
  33. bool
  34. ForAllClients() const { return forAllClients; }
  35. private:
  36. bool forAllClients;
  37. };
  38. #endif // __CYS_PRINTINSTALLATIONUNIT_H