home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / defaults.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  4.1 KB  |  102 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. // Default options
  20. //
  21. // This file is only needed by netscape.cpp so this information should
  22. //   not really be included in netscape.h since everyone includes that
  23. //
  24.  
  25. // Defaults             
  26. #define DEF_TOOLBAR                 TOOL_MIXED  // pictures and text
  27. #ifdef XP_WIN16
  28. #define DEF_MEM_CACHE               600   // in K
  29. #else
  30. #define DEF_MEM_CACHE               1024  // in K
  31. #endif
  32. #define DEF_MAX_CONNECT             4
  33. #define DEF_FONT_SIZE               XP_MEDIUM  // medium
  34.  
  35. #ifdef XP_WIN16
  36. #define DEF_TCPBUFFER               6*1024
  37. #else
  38. #define DEF_TCPBUFFER               32*1024
  39. #endif /* XP_WIN16 */
  40.  
  41. #define DEF_AUTOLOAD_HOME           "yes"
  42. #define CACHE_PREFIX                "M"
  43. #define DEF_SHOW_TOOLBAR            "yes"
  44. #define DEF_SHOW_DIRECTORY_BUTTONS  "yes"
  45. #define DEF_AUTOLOAD_IMAGES         "yes"
  46. #define DEF_FANCY_FTP               "yes"
  47. #define DEF_SOCKS_CONF              "c:\\windows\\socks.cnf"
  48. #define DEF_NEWS_DIR                            "c:\\netscape\\news"
  49. #define DEF_BLINKING                "yes"
  50. #define DEF_DITHER                  "yes"
  51.  
  52. #define DEF_CHECK_SERVER            1 // check cached documents vs the server once per session
  53.  
  54. #define DEF_MIME_POSTING            "no"
  55.  
  56. #define DEF_PROPORTIONAL_FONT       "Times New Roman"
  57. #define DEF_FIXED_FONT              "Courier New"
  58.  
  59. #ifdef MCI
  60. #define DEF_LINK_EXPR           1                                  // expiration time
  61. #define DEF_UNDERLINE           "no"                               // underline links
  62. #define DEF_NEWSRC              "c:\\imci\\viewer\\newsrc"
  63. #define DEF_BOOKMARK            "c:\\imci\\viewer\\bookmark.htm"
  64. #define DEF_NEWS_SERVER         "News.internetMCI.com"
  65. #define DEF_MAIL_SERVER         "mail.internetMCI.com"
  66. #define DEF_HOME_PAGE           "http://internetMCI.com/welcome"   // this doesn't look right...
  67. #define DEF_FANCY_NEWS          "yes"
  68. #define DEF_TEMP_DIR            "c:\\imci\\temp"
  69. #define DEF_CACHE_DIR           "c:\\imci\\cache"
  70. #define DEF_COOKIE_FILE         "c:\\imci\\viewer\\cookies.txt"
  71. #define DEF_HISTORY_FILE        "c:\\imci\\viewer\\imci.hst"
  72. #define DEF_SHOW_LOCATION       "no"
  73. #else
  74. #define DEF_LINK_EXPR           9                                  // expiration time
  75. #define DEF_UNDERLINE           "yes"                              // underline links
  76. #define DEF_NEWSRC              "c:\\newsrc"
  77. #define DEF_BOOKMARK            "c:\\netscape\\bookmark.htm"
  78. #define DEF_NEWS_SERVER         "news"
  79. #define DEF_MAIL_SERVER         "mail"
  80. #define DEF_HOME_PAGE           szLoadString(IDS_DIRECT_HOME)
  81. #define DEF_FANCY_NEWS          "no"
  82. #define DEF_TEMP_DIR            BOGUS_TEMP_DIR
  83. #define DEF_CACHE_DIR           "c:\\netscape\\cache"
  84. #define DEF_COOKIE_FILE         "c:\\netscape\\cookies.txt"
  85. #define DEF_HISTORY_FILE        "c:\\netscape\\netscape.hst"
  86. #define DEF_SHOW_LOCATION       "yes"
  87. #define DEF_CERT_DB             "c:\\netscape\\cert.db"
  88. #define DEF_CERT_NAME_INDEX     "c:\\netscape\\certni.db"
  89. #endif
  90.  
  91. //  Some commonly used strings
  92. #define SZ_NO "No"
  93. #define SZ_YES "Yes"
  94. #define SZ_WINASSOC "application/x-unknown-content-type-"
  95. #define SZ_IN_GOD_WE_TRUST "User Trusted External Applications"
  96. #define SZ_EMPTY ""
  97. #define SZ_DEBUG "Debug"
  98. #define SZ_TWIPS "Twips"
  99.  
  100. //  Stuff everywhere
  101. #define BLINKING_RULEZ
  102.