home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / stdafx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.7 KB  |  125 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. #ifndef STDAFX_PCH
  20. #define STDAFX_PCH
  21.  
  22. #define OEMRESOURCE
  23.  
  24. #if defined(DEBUG_blythe)
  25. //  Set up a flag specific to WFE developers in the client
  26. #define DEBUG_WFE
  27. #endif
  28.  
  29. /*    Very windows specific includes.
  30.  */
  31. /*  MFC, KFC, RUN DMC, whatever */
  32. #include <afxwin.h>
  33. #include <afxext.h>
  34. #include <afxpriv.h>
  35. #include <afxole.h>
  36. #include <afxdisp.h>
  37. #include <afxodlgs.h>
  38. #ifdef _WIN32
  39. #include <afxcmn.h>
  40. #endif
  41.  
  42. /* More XP than anything */
  43. #include "xp.h"
  44. #include "fe_proto.h"
  45. #include "fe_rgn.h"
  46. #include "xp_sec.h"
  47. #include "libi18n.h"
  48. #include "xlate.h"
  49. #include "ntypes.h"
  50. #ifdef EDITOR
  51. #include "edttypes.h"
  52. #endif
  53. #include "xpassert.h"
  54. #include "lo_ele.h"
  55. #include "layers.h"
  56.  
  57. /*  Standard C includes */
  58. #ifndef _WIN32
  59. #include <dos.h>
  60. #endif
  61. #include <malloc.h>
  62. #include <direct.h>
  63. #include <stdarg.h> 
  64. #include <time.h>
  65. #include <io.h>
  66. #include <string.h>
  67. #include <stdlib.h>
  68. #include <stdio.h>
  69. #include <errno.h>
  70. #ifdef DEBUG
  71. #include <assert.h>
  72. #endif
  73.  
  74.  
  75.  
  76.  
  77. /*    Very windows specific includes.
  78.  */
  79. /* WFE needs a layout file */
  80. extern "C"  {
  81. #include "layout.h"
  82. }
  83.  
  84. /*    Some common defines. */
  85. #ifndef _AFXDLL
  86. #define new DEBUG_NEW
  87. #endif
  88.  
  89. /*  All front end forward declarations needed to compile. */
  90. #include "forward.h"
  91.  
  92. /*    Front end Casting macros. */
  93. #include "cast.h"
  94.  
  95. /*    General purpose utilities. */
  96. #include "feutil.h"
  97.  
  98. /*    afxData/sysInfo */
  99. #include "sysinfo.h"
  100.  
  101. /*  Some defines we like everywhere. */
  102. #include "resource.h"
  103. #include "defaults.h"
  104.  
  105. /*  The application include and
  106.  *    Commonly used, rarely changed headers */
  107. #include "ncapiurl.h"
  108. #include "genedit.h"
  109. #include "genframe.h"
  110. #include "genview.h"
  111. #include "gendoc.h"
  112. #include "intlwin.h"
  113. #include "mozilla.h"
  114. #include "cxwin.h"
  115. #include "winproto.h"
  116.  
  117. #ifdef DEBUG
  118.     #ifdef assert
  119.         #undef assert
  120.     #endif
  121.     #define assert(x)   ASSERT(x)
  122. #endif
  123.  
  124. #endif /* STDAFX_PCH */
  125.