Gotta love macros

This commit is contained in:
jaggernaut%netscape.com 2003-07-20 11:54:31 +00:00
parent 41f4d45076
commit e152f2b47c
4 changed files with 7 additions and 0 deletions

View File

@ -69,6 +69,8 @@
////////////////////////////////////////////////////////////////////////
// CID's && IID's
static NS_DEFINE_IID(kCPluginManagerCID, NS_PLUGINMANAGER_CID); // needed for NS
_TRY_SAFE_CALL
static NS_DEFINE_IID(kIPluginStreamListenerIID, NS_IPLUGINSTREAMLISTENER_IID);
///////////////////////////////////////////////////////////////////////////////

View File

@ -209,6 +209,8 @@ static const char kDirectoryServiceContractID[] = "@mozilla.org/file/directory_s
static NS_DEFINE_IID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID);
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
static NS_DEFINE_CID(kCPluginManagerCID, NS_PLUGINMANAGER_CID); // needed for NS
_TRY_SAFE_CALL
////////////////////////////////////////////////////////////////////////
// Registry keys for caching plugin info

View File

@ -50,6 +50,8 @@
#include "nsPluginNativeWindow.h"
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
static NS_DEFINE_CID(kCPluginManagerCID, NS_PLUGINMANAGER_CID); // needed for NS
_TRY_SAFE_CALL
#define NS_PLUGIN_WINDOW_PROPERTY_ASSOCIATION "MozillaPluginWindowPropertyAssociation"

View File

@ -51,6 +51,7 @@
#include "nsPluginNativeWindow.h"
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
static NS_DEFINE_CID(kCPluginManagerCID, NS_PLUGINMANAGER_CID); // needed for NS_TRY_SAFE_CALL
#define NS_PLUGIN_WINDOW_PROPERTY_ASSOCIATION "MozillaPluginWindowPropertyAssociation"