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.

73 lines
2.0 KiB

  1. /**MOD+**********************************************************************/
  2. /* Module: fs.h */
  3. /* */
  4. /* Purpose: Header for Font Sender Class */
  5. /* */
  6. /* Copyright(C) Microsoft Corporation 1997-1999 */
  7. /* */
  8. /****************************************************************************/
  9. #ifndef _H_FS
  10. #define _H_FS
  11. extern "C" {
  12. #include <adcgdata.h>
  13. }
  14. #include "objs.h"
  15. #include "mcs.h"
  16. /**STRUCT+*******************************************************************/
  17. /* Structure: FS_GLOBAL_DATA */
  18. /* */
  19. /* Description: Font Sender global data */
  20. /****************************************************************************/
  21. typedef struct tagFS_GLOBAL_DATA
  22. {
  23. /************************************************************************/
  24. /* Internal state flags. */
  25. /************************************************************************/
  26. DCBOOL sentFontPDU;
  27. } FS_GLOBAL_DATA, DCPTR PFS_GLOBAL_DATA;
  28. class CSL;
  29. class CUT;
  30. class CUI;
  31. class CFS
  32. {
  33. public:
  34. CFS(CObjs* objs);
  35. ~CFS();
  36. public:
  37. //
  38. // API
  39. //
  40. VOID DCAPI FS_Init(VOID);
  41. VOID DCAPI FS_Term(VOID);
  42. VOID DCAPI FS_Enable(VOID);
  43. VOID DCAPI FS_Disable(VOID);
  44. VOID DCAPI FS_SendZeroFontList(UINT unusedParm);
  45. public:
  46. //
  47. // Data members
  48. //
  49. FS_GLOBAL_DATA _FS;
  50. private:
  51. CSL* _pSl;
  52. CUT* _pUt;
  53. CUI* _pUi;
  54. private:
  55. CObjs* _pClientObjects;
  56. };
  57. #endif //_H_FS