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.

60 lines
1.3 KiB

  1. // Copyright (c) 2001 Microsoft Corporation
  2. //
  3. // File: MediaInstallationUnit.h
  4. //
  5. // Synopsis: Declares a MediaInstallationUnit
  6. // This object has the knowledge for installing the
  7. // Streaming media service
  8. //
  9. // History: 02/06/2001 JeffJon Created
  10. #ifndef __CYS_MEDIAINSTALLATIONUNIT_H
  11. #define __CYS_MEDIAINSTALLATIONUNIT_H
  12. #include "InstallationUnit.h"
  13. class MediaInstallationUnit : public InstallationUnit
  14. {
  15. public:
  16. // Constructor
  17. MediaInstallationUnit();
  18. // Destructor
  19. virtual
  20. ~MediaInstallationUnit();
  21. // Installation Unit overrides
  22. virtual
  23. InstallationReturnType
  24. InstallService(HANDLE logfileHandle, HWND hwnd);
  25. virtual
  26. UnInstallReturnType
  27. UnInstallService(HANDLE logfileHandle, HWND hwnd);
  28. virtual
  29. bool
  30. GetMilestoneText(String& message);
  31. virtual
  32. bool
  33. GetUninstallMilestoneText(String& message);
  34. virtual
  35. String
  36. GetServiceDescription();
  37. virtual
  38. void
  39. ServerRoleLinkSelected(int linkIndex, HWND hwnd);
  40. virtual
  41. void
  42. FinishLinkSelected(int inkIndex, HWND hwnd);
  43. };
  44. #endif // __CYS_MEDIAINSTALLATIONUNIT_H