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
1020 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. RemoteDesktopServer
  5. Abstract:
  6. The RemoteDesktopServer is the interface for dealing
  7. with the salem server classes. It just presents
  8. the methods necessary for this application to use.
  9. Author:
  10. Marc Reyhner 7/5/2000
  11. --*/
  12. #ifndef __REMOTEDESKTOPSERVER_H__
  13. #define __REMOTEDESKTOPSERVER_H__
  14. #include "rdshost.h"
  15. class CRemoteDesktopServerEventSink;
  16. ////////////////////////////////////////////////
  17. //
  18. // CRemoteDesktopServer
  19. //
  20. // Class for managing the Salem RemoteDesktopServer session.
  21. //
  22. class CRemoteDesktopServer
  23. {
  24. private:
  25. ISAFRemoteDesktopServerHost *m_rServerHost;
  26. ISAFRemoteDesktopSession *m_rServerSession;
  27. public:
  28. // Constructor/destructor
  29. CRemoteDesktopServer();
  30. virtual ~CRemoteDesktopServer();
  31. BSTR StartListening();
  32. VOID StopListening();
  33. // Pass in an event sink that wants to be advised of events.
  34. HRESULT EventSinkAdvise(CRemoteDesktopServerEventSink *rSink);
  35. };
  36. #endif