Moved autoupdt code out od MOZ_SMARTUPDATE. Changes from raman. Reviewed by rjc

This commit is contained in:
rjc%netscape.com 1998-09-12 02:37:01 +00:00
Родитель ae2510c50c
Коммит fe5ec96fd6
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -52,6 +52,7 @@
#include "intl_csi.h"
#include "autoupdt.h" /* autoupdate converters */
#ifdef MOZ_SMARTUPDATE
#include "softupdt.h" /* software update converters */
NET_StreamClass * autoupdate_Converter(FO_Present_Types format_out, void *data_object, URL_Struct *URL_s, MWContext *window_id);
@ -628,16 +629,16 @@ net_RegisterDefaultDecoders (void)
NET_RegisterContentTypeConverter("*", FO_CACHE_AND_ROBOTS_TXT,
NULL, NET_CacheConverter);
#endif /* CRAWLER */
#ifdef MOZ_SMARTUPDATE
NET_RegisterContentTypeConverter("*", FO_SOFTWARE_UPDATE, NULL, SU_NewStream);
NET_RegisterContentTypeConverter(APPLICATION_JAVAARCHIVE, FO_PRESENT, NULL, SU_NewStream);
NET_cdataCommit(APPLICATION_JAVAARCHIVE, ".jar");
#endif
NET_RegisterContentTypeConverter( "*", FO_CACHE_AND_AUTOUPDATE, NULL, NET_CacheConverter);
NET_RegisterContentTypeConverter( "*", FO_AUTOUPDATE, NULL, autoupdate_Converter);
#endif
#ifndef MCC_PROXY
NET_RegisterContentTypeConverter(APPLICATION_NS_PROXY_AUTOCONFIG,
FO_CACHE_AND_PRESENT,