From 769532b431f8139dea7111a1d9faca6c59f40302 Mon Sep 17 00:00:00 2001 From: "hshaw%netscape.com" Date: Wed, 10 Mar 1999 20:33:14 +0000 Subject: [PATCH] Replace NS_DECLARE_CID with NS_DEFINE_IID for KPrefCID --- mailnews/base/src/nsMsgFolder.cpp | 2 ++ webshell/tests/viewer/nsSetupRegistry.cpp | 1 + xpfe/xpviewer/src/nsSetupRegistry.cpp | 1 + 3 files changed, 4 insertions(+) diff --git a/mailnews/base/src/nsMsgFolder.cpp b/mailnews/base/src/nsMsgFolder.cpp index f6eab6496736..a95e1ccec8d9 100644 --- a/mailnews/base/src/nsMsgFolder.cpp +++ b/mailnews/base/src/nsMsgFolder.cpp @@ -27,6 +27,8 @@ #include "nsISupportsArray.h" #include "nsIPref.h" +static NS_DEFINE_CID(kPrefCID, NS_PREF_CID); + // we need this because of an egcs 1.0 (and possibly gcc) compiler bug // that doesn't allow you to call ::nsISupports::GetIID() inside of a class // that multiply inherits from nsISupports diff --git a/webshell/tests/viewer/nsSetupRegistry.cpp b/webshell/tests/viewer/nsSetupRegistry.cpp index ad5d59c4387b..d3782e494e18 100644 --- a/webshell/tests/viewer/nsSetupRegistry.cpp +++ b/webshell/tests/viewer/nsSetupRegistry.cpp @@ -182,6 +182,7 @@ static NS_DEFINE_IID(kCScrollingViewCID, NS_SCROLLING_VIEW_CID); static NS_DEFINE_IID(kWebShellCID, NS_WEB_SHELL_CID); static NS_DEFINE_IID(kCDocLoaderServiceCID, NS_DOCUMENTLOADER_SERVICE_CID); static NS_DEFINE_IID(kThrobberCID, NS_THROBBER_CID); +static NS_DEFINE_CID(kPrefCID, NS_PREF_CID); static NS_DEFINE_IID(kCPluginHostCID, NS_PLUGIN_HOST_CID); static NS_DEFINE_IID(kCParserCID, NS_PARSER_IID); static NS_DEFINE_CID(kWellFormedDTDCID, NS_WELLFORMEDDTD_CID); diff --git a/xpfe/xpviewer/src/nsSetupRegistry.cpp b/xpfe/xpviewer/src/nsSetupRegistry.cpp index 2b98fa769b31..c94604d5ffd9 100644 --- a/xpfe/xpviewer/src/nsSetupRegistry.cpp +++ b/xpfe/xpviewer/src/nsSetupRegistry.cpp @@ -120,6 +120,7 @@ static NS_DEFINE_IID(kCScrollingViewCID, NS_SCROLLING_VIEW_CID); static NS_DEFINE_IID(kWebShellCID, NS_WEB_SHELL_CID); static NS_DEFINE_IID(kCDocumentLoaderCID, NS_DOCUMENTLOADER_CID); static NS_DEFINE_IID(kThrobberCID, NS_THROBBER_CID); +static NS_DEFINE_CID(kPrefCID, NS_PREF_CID); static NS_DEFINE_IID(kCPluginHostCID, NS_PLUGIN_HOST_CID); static NS_DEFINE_IID(kCParserCID, NS_PARSER_IID); static NS_DEFINE_IID(kLookAndFeelCID, NS_LOOKANDFEEL_CID);