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.

83 lines
1.5 KiB

  1. // Copyright (c) 1997-2001 Microsoft Corporation
  2. //
  3. // File: ApplicationInstallationUnit.h
  4. //
  5. // Synopsis: Declares a ApplicationInstallationUnit
  6. // This object has the knowledge for installing the
  7. // Application service portion of Terminal Server
  8. //
  9. // History: 02/06/2001 JeffJon Created
  10. #ifndef __CYS_APPLICATIONINSTALLATIONUNIT_H
  11. #define __CYS_APPLICATIONINSTALLATIONUNIT_H
  12. #include "InstallationUnit.h"
  13. class ApplicationInstallationUnit : public InstallationUnit
  14. {
  15. public:
  16. // Constructor
  17. ApplicationInstallationUnit();
  18. // Destructor
  19. virtual
  20. ~ApplicationInstallationUnit();
  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. virtual
  32. String
  33. GetServiceDescription();
  34. // Terminal Server specific
  35. DWORD
  36. GetServerSize();
  37. bool
  38. SetServerSize(DWORD size) const;
  39. DWORD
  40. GetServerCache();
  41. bool
  42. SetServerCache(DWORD cache) const;
  43. DWORD
  44. GetApplicationMode();
  45. bool
  46. SetApplicationMode(DWORD mode) const;
  47. void
  48. SetInstallTS(bool install);
  49. bool
  50. GetInstallTS() const { return installTS; }
  51. private:
  52. DWORD serverSize;
  53. DWORD serverCache;
  54. DWORD applicationMode;
  55. bool installTS;
  56. };
  57. #endif // __CYS_APPLICATIONINSTALLATIONUNIT_H