home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / libfont / src / libfont.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.1 KB  |  79 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18. /* 
  19.  *
  20.  * General include that contain all general junk that is in the system.
  21.  *
  22.  * dp Suresh <dp@netscape.com>
  23.  */
  24.  
  25.  
  26. #include "libfont.h"
  27. #include "nf.h"
  28.  
  29. /*
  30.  * Global variables
  31.  */
  32.  
  33. /*
  34.  * These are the font broker interface variables that is available after
  35.  * font broker init.
  36.  */
  37. struct nffbc *WF_fbc = NULL;
  38. struct nffbu *WF_fbu = NULL;
  39. struct nffbp *WF_fbp = NULL;
  40.  
  41. /*
  42.  * JMC defines a lot of IDs. We need to define globals for all those here.
  43.  * Everybody else will use these.
  44.  *
  45.  * Defining this causes JMC to generate the actual IDs for the objects.
  46.  * JMC should have defined this automatically. Since work on JMC has
  47.  * stopped, we will side step this by defining this ourselves here.
  48.  */
  49. #define JMC_INITID
  50.  
  51. /* MAKE ABSOLUTELY CERTAIN THAT jmc.h IS NOT INCLUDE BEFORE THIS POINT */
  52. #ifdef JMC_H
  53. jmc.h should not have been include here.
  54. #endif
  55.  
  56. #define JMC_INIT_nfdoer_ID
  57. #include "Mnfdoer.h"
  58. #define JMC_INIT_nff_ID
  59. #include "Mnff.h"
  60. #define JMC_INIT_nffbc_ID
  61. #include "Mnffbc.h"
  62. #define JMC_INIT_nffbp_ID
  63. #include "Mnffbp.h"
  64. #define JMC_INIT_nffbu_ID
  65. #include "Mnffbu.h"
  66. #define JMC_INIT_nffmi_ID
  67. #include "Mnffmi.h"
  68. #define JMC_INIT_nffp_ID
  69. #include "Mnffp.h"
  70. #define JMC_INIT_nfrc_ID
  71. #include "Mnfrc.h"
  72. #define JMC_INIT_nfrf_ID
  73. #include "Mnfrf.h"
  74. #define JMC_INIT_nfstrm_ID
  75. #include "Mnfstrm.h"
  76. #define JMC_INIT_nfdlm_ID
  77. #include "Mnfdlm.h"
  78.  
  79.