mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
This commit is contained in:
parent
377bfd51dd
commit
06c7c1b2b4
@ -407,7 +407,7 @@ nsViewManager::~nsViewManager()
|
||||
|
||||
NS_IMPL_QUERY_INTERFACE1(nsViewManager, nsIViewManager)
|
||||
|
||||
NS_IMPL_ADDREF(nsViewManager);
|
||||
NS_IMPL_ADDREF(nsViewManager)
|
||||
|
||||
nsrefcnt nsViewManager::Release(void)
|
||||
{
|
||||
|
@ -1357,7 +1357,7 @@ nsBrowserWindow::~nsBrowserWindow()
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS4(nsBrowserWindow, nsIBaseWindow, nsIInterfaceRequestor, nsIProgressEventSink, nsIWebShellContainer);
|
||||
NS_IMPL_ISUPPORTS4(nsBrowserWindow, nsIBaseWindow, nsIInterfaceRequestor, nsIProgressEventSink, nsIWebShellContainer)
|
||||
|
||||
nsresult
|
||||
nsBrowserWindow::GetInterface(const nsIID& aIID,
|
||||
|
@ -219,7 +219,7 @@ public:
|
||||
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsTestFormProcessor, nsIFormProcessor);
|
||||
NS_IMPL_ISUPPORTS1(nsTestFormProcessor, nsIFormProcessor)
|
||||
|
||||
nsTestFormProcessor::nsTestFormProcessor()
|
||||
{
|
||||
|
@ -693,8 +693,8 @@ nsXPBaseWindowFactory::QueryInterface(const nsIID &aIID, void **aResult)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMPL_ADDREF(nsXPBaseWindowFactory);
|
||||
NS_IMPL_RELEASE(nsXPBaseWindowFactory);
|
||||
NS_IMPL_ADDREF(nsXPBaseWindowFactory)
|
||||
NS_IMPL_RELEASE(nsXPBaseWindowFactory)
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
nsresult
|
||||
|
@ -306,7 +306,7 @@ nsChildView::~nsChildView()
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS_INHERITED3(nsChildView, nsBaseWidget, nsIPluginWidget, nsIKBStateControl, nsIEventSink);
|
||||
NS_IMPL_ISUPPORTS_INHERITED3(nsChildView, nsBaseWidget, nsIPluginWidget, nsIKBStateControl, nsIEventSink)
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
@ -280,7 +280,7 @@ nsCocoaWindow :: DragReceiveHandler (WindowPtr theWindow, void *handlerRefCon,
|
||||
#endif
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS_INHERITED0(nsCocoaWindow, Inherited);
|
||||
NS_IMPL_ISUPPORTS_INHERITED0(nsCocoaWindow, Inherited)
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsIScrollbarMediator.h"
|
||||
|
||||
NS_IMPL_ISUPPORTS_INHERITED1(nsNativeScrollbar, nsChildView, nsINativeScrollbar);
|
||||
NS_IMPL_ISUPPORTS_INHERITED1(nsNativeScrollbar, nsChildView, nsINativeScrollbar)
|
||||
|
||||
inline void BoundsCheck(PRInt32 low, PRUint32& value, PRUint32 high)
|
||||
{
|
||||
|
@ -234,7 +234,7 @@ static PRUintn gToolkitTLSIndex = 0;
|
||||
|
||||
#pragma mark -
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsToolkit, nsIToolkit);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsToolkit, nsIToolkit)
|
||||
|
||||
|
||||
// assume we begin as the fg app
|
||||
|
@ -70,7 +70,7 @@ GtkWidget* nsClipboard::sWidget = 0;
|
||||
|
||||
static GdkAtom GDK_SELECTION_CLIPBOARD;
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsClipboard, nsIClipboard);
|
||||
NS_IMPL_ISUPPORTS1(nsClipboard, nsIClipboard)
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
@ -55,7 +55,7 @@ typedef int (PR_CALLBACK *EsdCloseType)(int);
|
||||
/* used to play the sounds from the find symbol call */
|
||||
typedef int (PR_CALLBACK *EsdPlayStreamFallbackType)(int, int, const char *, const char *);
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsSound, nsISound, nsIStreamLoaderObserver);
|
||||
NS_IMPL_ISUPPORTS2(nsSound, nsISound, nsIStreamLoaderObserver)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
nsSound::nsSound()
|
||||
|
@ -60,7 +60,7 @@ typedef int (PR_CALLBACK *EsdPlayStreamFallbackType) (int,
|
||||
const char *,
|
||||
const char *);
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsSound, nsISound, nsIStreamLoaderObserver);
|
||||
NS_IMPL_ISUPPORTS2(nsSound, nsISound, nsIStreamLoaderObserver)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
nsSound::nsSound()
|
||||
|
@ -40,8 +40,8 @@
|
||||
#include <ControlDefinitions.h>
|
||||
#endif
|
||||
|
||||
NS_IMPL_ADDREF(nsButton);
|
||||
NS_IMPL_RELEASE(nsButton);
|
||||
NS_IMPL_ADDREF(nsButton)
|
||||
NS_IMPL_RELEASE(nsButton)
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
@ -40,8 +40,8 @@
|
||||
#include <ControlDefinitions.h>
|
||||
#endif
|
||||
|
||||
NS_IMPL_ADDREF(nsCheckButton);
|
||||
NS_IMPL_RELEASE(nsCheckButton);
|
||||
NS_IMPL_ADDREF(nsCheckButton)
|
||||
NS_IMPL_RELEASE(nsCheckButton)
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
@ -47,7 +47,7 @@
|
||||
|
||||
NS_IMPL_ADDREF(nsDragHelperService)
|
||||
NS_IMPL_RELEASE(nsDragHelperService)
|
||||
NS_IMPL_QUERY_INTERFACE1(nsDragHelperService, nsIDragHelperService);
|
||||
NS_IMPL_QUERY_INTERFACE1(nsDragHelperService, nsIDragHelperService)
|
||||
|
||||
|
||||
//
|
||||
|
@ -37,8 +37,8 @@
|
||||
|
||||
#include "nsLabel.h"
|
||||
|
||||
NS_IMPL_ADDREF(nsLabel);
|
||||
NS_IMPL_RELEASE(nsLabel);
|
||||
NS_IMPL_ADDREF(nsLabel)
|
||||
NS_IMPL_RELEASE(nsLabel)
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
@ -175,7 +175,7 @@ nsMacWindow :: DragReceiveHandler (WindowPtr theWindow, void *handlerRefCon,
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS_INHERITED4(nsMacWindow, Inherited, nsIEventSink, nsPIWidgetMac, nsPIEventSinkStandalone,
|
||||
nsIMacTextInputEventSink);
|
||||
nsIMacTextInputEventSink)
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
@ -117,7 +117,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
NS_IMPL_ISUPPORTS0(nsDummyMenuItem);
|
||||
NS_IMPL_ISUPPORTS0(nsDummyMenuItem)
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
NS_IMPL_ISUPPORTS4(nsMenu, nsIMenu, nsIMenuListener, nsIChangeObserver, nsISupportsWeakReference)
|
||||
|
@ -95,7 +95,7 @@ ScrollbarActionProc ( )
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS_INHERITED1(nsNativeScrollbar, nsWindow, nsINativeScrollbar);
|
||||
NS_IMPL_ISUPPORTS_INHERITED1(nsNativeScrollbar, nsWindow, nsINativeScrollbar)
|
||||
|
||||
nsNativeScrollbar::nsNativeScrollbar()
|
||||
: nsMacControl()
|
||||
|
@ -213,7 +213,7 @@ nsSound::~nsSound()
|
||||
#endif
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsSound, nsISound);
|
||||
NS_IMPL_ISUPPORTS1(nsSound, nsISound)
|
||||
|
||||
NS_METHOD
|
||||
nsSound::Beep()
|
||||
@ -465,7 +465,7 @@ nsSoundRequest::~nsSoundRequest()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsSoundRequest, nsITimerCallback);
|
||||
NS_IMPL_ISUPPORTS1(nsSoundRequest, nsITimerCallback)
|
||||
|
||||
nsSoundRequest*
|
||||
nsSoundRequest::GetFromISupports(nsISupports* inSupports)
|
||||
@ -542,7 +542,7 @@ nsSystemSoundRequest::~nsSystemSoundRequest()
|
||||
#endif
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS_INHERITED0(nsSystemSoundRequest, nsSoundRequest);
|
||||
NS_IMPL_ISUPPORTS_INHERITED0(nsSystemSoundRequest, nsSoundRequest)
|
||||
|
||||
nsresult
|
||||
nsSystemSoundRequest::Init(nsISound* aSound, ConstStr255Param aSoundName)
|
||||
@ -695,7 +695,7 @@ GWorldPtr nsMoviePortOwner::GetSingletonMoviePort()
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS_INHERITED1(nsMovieSoundRequest, nsSoundRequest, nsIStreamLoaderObserver);
|
||||
NS_IMPL_ISUPPORTS_INHERITED1(nsMovieSoundRequest, nsSoundRequest, nsIStreamLoaderObserver)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
nsMovieSoundRequest::nsMovieSoundRequest()
|
||||
|
@ -49,8 +49,8 @@ using std::auto_ptr;
|
||||
#include <ControlDefinitions.h>
|
||||
#endif
|
||||
|
||||
NS_IMPL_ADDREF(nsTextWidget);
|
||||
NS_IMPL_RELEASE(nsTextWidget);
|
||||
NS_IMPL_ADDREF(nsTextWidget)
|
||||
NS_IMPL_RELEASE(nsTextWidget)
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
@ -187,7 +187,7 @@ void nsMacNSPREventQueueHandler::ProcessPLEventQueue()
|
||||
|
||||
#pragma mark -
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsToolkit, nsIToolkit);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsToolkit, nsIToolkit)
|
||||
|
||||
|
||||
// assume we begin as the fg app
|
||||
|
@ -342,7 +342,7 @@ nsWindow::~nsWindow()
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS_INHERITED2(nsWindow, nsBaseWidget, nsIKBStateControl, nsIPluginWidget);
|
||||
NS_IMPL_ISUPPORTS_INHERITED2(nsWindow, nsBaseWidget, nsIKBStateControl, nsIPluginWidget)
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
@ -59,7 +59,7 @@
|
||||
// In general, a bad idea (see http://www.jwz.org/doc/x-cut-and-paste.html)
|
||||
// but it might have its uses for backwards compatibility.
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsClipboard, nsIClipboard);
|
||||
NS_IMPL_ISUPPORTS1(nsClipboard, nsIClipboard)
|
||||
|
||||
#define Ph_CLIPBOARD_TYPE_MOZ_BOOKMARK "BOOK"
|
||||
#define Ph_CLIPBOARD_TYPE_IMAGE "IMAG"
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include <Pt.h>
|
||||
#include "nsPhWidgetLog.h"
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsSound, nsISound, nsIStreamLoaderObserver);
|
||||
NS_IMPL_ISUPPORTS2(nsSound, nsISound, nsIStreamLoaderObserver)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
nsSound::nsSound()
|
||||
|
@ -49,7 +49,7 @@ PRBool nsToolkit::mPtInited = PR_FALSE;
|
||||
//
|
||||
static PRUintn gToolkitTLSIndex = 0;
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsToolkit,nsIToolkit);
|
||||
NS_IMPL_ISUPPORTS1(nsToolkit,nsIToolkit)
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS2(nsSound, nsISound, nsIStreamLoaderObserver);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS2(nsSound, nsISound, nsIStreamLoaderObserver)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
nsSound::nsSound()
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
NS_IMPL_ADDREF(nsBaseClipboard)
|
||||
NS_IMPL_RELEASE(nsBaseClipboard)
|
||||
NS_IMPL_QUERY_INTERFACE1(nsBaseClipboard, nsIClipboard);
|
||||
NS_IMPL_QUERY_INTERFACE1(nsBaseClipboard, nsIClipboard)
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "nsITransferable.h"
|
||||
#include "nsReadableUtils.h"
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsClipboardHelper, nsIClipboardHelper);
|
||||
NS_IMPL_ISUPPORTS1(nsClipboardHelper, nsIClipboardHelper)
|
||||
|
||||
/*****************************************************************************
|
||||
* nsClipboardHelper ctor / dtor
|
||||
@ -49,7 +49,7 @@ nsClipboardHelper::nsClipboardHelper()
|
||||
nsClipboardHelper::~nsClipboardHelper()
|
||||
{
|
||||
// no members, nothing to destroy
|
||||
};
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* nsIClipboardHelper methods
|
||||
|
@ -70,7 +70,7 @@ XRemoteClient::~XRemoteClient()
|
||||
}
|
||||
|
||||
#ifndef XREMOTE_STANDALONE
|
||||
NS_IMPL_ISUPPORTS1(XRemoteClient, nsIXRemoteClient);
|
||||
NS_IMPL_ISUPPORTS1(XRemoteClient, nsIXRemoteClient)
|
||||
#endif
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -57,6 +57,6 @@ static const nsModuleComponentInfo components[] =
|
||||
XRemoteClientConstructor }
|
||||
};
|
||||
|
||||
NS_IMPL_NSGETMODULE(XRemoteClientModule, components);
|
||||
NS_IMPL_NSGETMODULE(XRemoteClientModule, components)
|
||||
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "nsConsoleMessage.h"
|
||||
#include "nsReadableUtils.h"
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsConsoleMessage, nsIConsoleMessage);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsConsoleMessage, nsIConsoleMessage)
|
||||
|
||||
nsConsoleMessage::nsConsoleMessage()
|
||||
{
|
||||
@ -53,7 +53,7 @@ nsConsoleMessage::nsConsoleMessage(const PRUnichar *message)
|
||||
mMessage.Assign(message);
|
||||
}
|
||||
|
||||
nsConsoleMessage::~nsConsoleMessage() {};
|
||||
nsConsoleMessage::~nsConsoleMessage() {}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsConsoleMessage::GetMessage(PRUnichar **result) {
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include "nsConsoleService.h"
|
||||
#include "nsConsoleMessage.h"
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsConsoleService, nsIConsoleService);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsConsoleService, nsIConsoleService)
|
||||
|
||||
nsConsoleService::nsConsoleService()
|
||||
: mCurrent(0), mFull(PR_FALSE), mListening(PR_FALSE), mLock(nsnull)
|
||||
|
@ -126,8 +126,8 @@ static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID);
|
||||
static NS_DEFINE_CID(kMemoryCID, NS_MEMORY_CID);
|
||||
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsProcess);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsEventQueueServiceImpl, Init);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsProcess)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsEventQueueServiceImpl, Init)
|
||||
|
||||
#include "nsXPCOM.h"
|
||||
// ds/nsISupportsPrimitives
|
||||
@ -167,21 +167,21 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsSupportsDoubleImpl)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSupportsVoidImpl)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSupportsInterfacePointerImpl)
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsArray);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsConsoleService);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsAtomService);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsExceptionService);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimerImpl);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimerManager);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsArray)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsConsoleService)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsAtomService)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsExceptionService)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimerImpl)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimerManager)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsBinaryOutputStream)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsBinaryInputStream)
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsVariant);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsVariant)
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsRecyclingAllocatorImpl);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsRecyclingAllocatorImpl)
|
||||
|
||||
#ifdef MOZ_TIMELINE
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimelineService);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimelineService)
|
||||
#endif
|
||||
|
||||
static NS_METHOD
|
||||
|
@ -107,7 +107,7 @@ protected:
|
||||
PRUint32 mStringCurItem;
|
||||
};
|
||||
|
||||
NS_IMPL_ISUPPORTS2(BaseStringEnumerator, nsISimpleEnumerator, nsIUTF8StringEnumerator);
|
||||
NS_IMPL_ISUPPORTS2(BaseStringEnumerator, nsISimpleEnumerator, nsIUTF8StringEnumerator)
|
||||
|
||||
NS_IMETHODIMP
|
||||
BaseStringEnumerator::HasMoreElements(PRBool *_retval)
|
||||
@ -440,7 +440,7 @@ CategoryEnumerator::enumfunc_createenumerator(const char* aStr, CategoryNode* aN
|
||||
// nsCategoryManager implementations
|
||||
//
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsCategoryManager, nsICategoryManager);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsCategoryManager, nsICategoryManager)
|
||||
|
||||
nsCategoryManager*
|
||||
nsCategoryManager::Create()
|
||||
|
@ -479,7 +479,7 @@ PLDHashTableEnumeratorImpl::PLDHashTableEnumeratorImpl(PLDHashTable *table,
|
||||
NS_IMPL_ISUPPORTS3(PLDHashTableEnumeratorImpl,
|
||||
nsIBidirectionalEnumerator,
|
||||
nsIEnumerator,
|
||||
nsISimpleEnumerator);
|
||||
nsISimpleEnumerator)
|
||||
|
||||
PLDHashTableEnumeratorImpl::~PLDHashTableEnumeratorImpl()
|
||||
{
|
||||
@ -2449,7 +2449,7 @@ nsComponentManagerImpl::GetService(const nsCID& aClass, const nsIID& aIID,
|
||||
nsIShutdownListener* shutdownListener)
|
||||
{
|
||||
return GetService(aClass, aIID, (void**)result);
|
||||
};
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsComponentManagerImpl::GetService(const char* aContractID, const nsIID& aIID,
|
||||
@ -2457,7 +2457,7 @@ nsComponentManagerImpl::GetService(const char* aContractID, const nsIID& aIID,
|
||||
nsIShutdownListener* shutdownListener)
|
||||
{
|
||||
return GetServiceByContractID(aContractID, aIID, (void**)result);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
@ -2466,7 +2466,7 @@ nsComponentManagerImpl::ReleaseService(const nsCID& aClass, nsISupports* service
|
||||
{
|
||||
NS_IF_RELEASE(service);
|
||||
return NS_OK;
|
||||
};
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsComponentManagerImpl::ReleaseService(const char* aContractID, nsISupports* service,
|
||||
@ -2474,7 +2474,7 @@ nsComponentManagerImpl::ReleaseService(const char* aContractID, nsISupports* ser
|
||||
{
|
||||
NS_IF_RELEASE(service);
|
||||
return NS_OK;
|
||||
};
|
||||
}
|
||||
|
||||
/*
|
||||
* I want an efficient way to allocate a buffer to the right size
|
||||
|
@ -74,7 +74,7 @@ nsNativeComponentLoader::~nsNativeComponentLoader()
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS2(nsNativeComponentLoader,
|
||||
nsIComponentLoader,
|
||||
nsINativeComponentLoader);
|
||||
nsINativeComponentLoader)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNativeComponentLoader::GetFactory(const nsIID & aCID,
|
||||
|
@ -73,7 +73,7 @@ info_InitEntry(PLDHashTable *table, PLDHashEntryHdr *entry, const void *key)
|
||||
PL_DHashFinalizeStub, info_InitEntry
|
||||
};
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsStaticComponentLoader, nsIComponentLoader);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsStaticComponentLoader, nsIComponentLoader)
|
||||
|
||||
NS_COM NSGetStaticModuleInfoFunc NSGetStaticModuleInfo;
|
||||
|
||||
|
@ -75,7 +75,7 @@ nsProperties::~nsProperties()
|
||||
Enumerate(ReleaseValues);
|
||||
}
|
||||
|
||||
NS_IMPL_AGGREGATED(nsProperties);
|
||||
NS_IMPL_AGGREGATED(nsProperties)
|
||||
|
||||
NS_METHOD
|
||||
nsProperties::AggregatedQueryInterface(const nsIID& aIID, void** aInstancePtr)
|
||||
|
@ -373,7 +373,7 @@ nsRecyclingAllocator::AddToFreeList(Block* block)
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
// nsIMemory methods
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS2(nsRecyclingAllocatorImpl, nsIMemory, nsIRecyclingAllocator);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS2(nsRecyclingAllocatorImpl, nsIMemory, nsIRecyclingAllocator)
|
||||
|
||||
NS_IMETHODIMP_(void *)
|
||||
nsRecyclingAllocatorImpl::Alloc(PRSize size)
|
||||
|
@ -48,7 +48,7 @@ nsStringService::~nsStringService()
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsStringService,
|
||||
nsIStringService);
|
||||
nsIStringService)
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -392,7 +392,7 @@ class nsDirEnumerator : public nsISimpleEnumerator
|
||||
nsCOMPtr<nsILocalFile> mNext;
|
||||
};
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsDirEnumerator, nsISimpleEnumerator);
|
||||
NS_IMPL_ISUPPORTS1(nsDirEnumerator, nsISimpleEnumerator)
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -83,7 +83,7 @@ private:
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS3(nsMultiplexInputStream,
|
||||
nsIMultiplexInputStream,
|
||||
nsIInputStream,
|
||||
nsISeekableStream);
|
||||
nsISeekableStream)
|
||||
|
||||
nsMultiplexInputStream::nsMultiplexInputStream()
|
||||
: mCurrentStream(0),
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "nsScriptableInputStream.h"
|
||||
#include "nsMemory.h"
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsScriptableInputStream, nsIScriptableInputStream);
|
||||
NS_IMPL_ISUPPORTS1(nsScriptableInputStream, nsIScriptableInputStream)
|
||||
|
||||
// nsIBaseStream methods
|
||||
NS_IMETHODIMP
|
||||
|
@ -136,7 +136,7 @@ NS_IMPL_THREADSAFE_ISUPPORTS4(nsStringInputStream,
|
||||
nsIStringInputStream,
|
||||
nsIInputStream,
|
||||
nsIRandomAccessStore,
|
||||
nsISeekableStream);
|
||||
nsISeekableStream)
|
||||
|
||||
/////////
|
||||
// nsIStringInputStream implementation
|
||||
|
@ -1650,7 +1650,7 @@ NS_IMETHODIMP nsRegSubtreeEnumerator::advance() {
|
||||
// Convert result.
|
||||
nsresult rv = regerr2nsresult( err );
|
||||
return rv;
|
||||
};
|
||||
}
|
||||
|
||||
/*-------------------- nsRegSubtreeEnumerator::CurrentItem ---------------------
|
||||
| Allocates and returns a new instance of class nsRegistryNode. The node |
|
||||
@ -1748,7 +1748,7 @@ NS_IMETHODIMP nsRegValueEnumerator::advance() {
|
||||
// Convert result.
|
||||
nsresult rv = regerr2nsresult( err );
|
||||
return rv;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/*---------------------- nsRegistryNode::nsRegistryNode ------------------------
|
||||
|
@ -467,7 +467,7 @@ nsProxyEventObject::~nsProxyEventObject()
|
||||
// nsISupports implementation...
|
||||
//
|
||||
|
||||
NS_IMPL_THREADSAFE_ADDREF(nsProxyEventObject);
|
||||
NS_IMPL_THREADSAFE_ADDREF(nsProxyEventObject)
|
||||
|
||||
NS_IMETHODIMP_(nsrefcnt)
|
||||
nsProxyEventObject::Release(void)
|
||||
|
@ -104,7 +104,7 @@ xptiAutoLog::xptiAutoLog(xptiInterfaceInfoManager* mgr,
|
||||
#endif
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
xptiAutoLog::~xptiAutoLog()
|
||||
{
|
||||
|
@ -76,7 +76,7 @@ nsSampleImpl::~nsSampleImpl()
|
||||
* The _CI variant adds support for nsIClassInfo, which permits introspection
|
||||
* and interface flattening.
|
||||
*/
|
||||
NS_IMPL_ISUPPORTS1_CI(nsSampleImpl, nsISample);
|
||||
NS_IMPL_ISUPPORTS1_CI(nsSampleImpl, nsISample)
|
||||
|
||||
/**
|
||||
* Notice that in the protoype for this function, the NS_IMETHOD macro was
|
||||
|
@ -77,7 +77,7 @@ public:
|
||||
nsString mName;
|
||||
};
|
||||
|
||||
NS_IMPL_ISUPPORTS2( TestObserver, nsIObserver, nsISupportsWeakReference );
|
||||
NS_IMPL_ISUPPORTS2( TestObserver, nsIObserver, nsISupportsWeakReference )
|
||||
|
||||
NS_IMETHODIMP
|
||||
TestObserver::Observe( nsISupports *aSubject,
|
||||
|
@ -122,7 +122,7 @@ protected:
|
||||
PRUint32 mCount;
|
||||
};
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsReceiver, nsIRunnable);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsReceiver, nsIRunnable)
|
||||
|
||||
nsresult
|
||||
TestPipe(nsIInputStream* in, nsIOutputStream* out)
|
||||
@ -234,7 +234,7 @@ protected:
|
||||
PRUint32 mReceived;
|
||||
};
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsShortReader, nsIRunnable);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsShortReader, nsIRunnable)
|
||||
|
||||
nsresult
|
||||
TestShortWrites(nsIInputStream* in, nsIOutputStream* out)
|
||||
@ -315,7 +315,7 @@ public:
|
||||
virtual ~nsPipeObserver() {}
|
||||
};
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsPipeObserver, nsIInputStreamObserver, nsIOutputStreamObserver);
|
||||
NS_IMPL_ISUPPORTS2(nsPipeObserver, nsIInputStreamObserver, nsIOutputStreamObserver)
|
||||
|
||||
nsresult
|
||||
TestPipeObserver()
|
||||
|
@ -85,7 +85,7 @@ private:
|
||||
|
||||
};
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsConcurrentRunner, nsIRunnable);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsConcurrentRunner, nsIRunnable)
|
||||
|
||||
|
||||
class nsRunner : public nsIRunnable {
|
||||
@ -115,7 +115,7 @@ protected:
|
||||
int mNum;
|
||||
};
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsRunner, nsIRunnable);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsRunner, nsIRunnable)
|
||||
|
||||
nsresult
|
||||
TestThreads()
|
||||
@ -249,7 +249,7 @@ protected:
|
||||
|
||||
PRInt32 nsStressRunner::gNum = 0;
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsStressRunner, nsIRunnable);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsStressRunner, nsIRunnable)
|
||||
|
||||
static int Stress(int loops, int threads)
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ class TestDynamicClassImpl: public ITestClass {
|
||||
void Test();
|
||||
};
|
||||
|
||||
NS_IMPL_ISUPPORTS1(TestDynamicClassImpl, ITestClass);
|
||||
NS_IMPL_ISUPPORTS1(TestDynamicClassImpl, ITestClass)
|
||||
|
||||
void TestDynamicClassImpl::Test() {
|
||||
printf("hello, dynamic world!\n");
|
||||
@ -63,7 +63,7 @@ void TestDynamicClassImpl::Test() {
|
||||
* Generic Module
|
||||
*/
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(TestDynamicClassImpl);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(TestDynamicClassImpl)
|
||||
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// MyService Implementation
|
||||
|
||||
NS_IMPL_ISUPPORTS1(MyService, IMyService);
|
||||
NS_IMPL_ISUPPORTS1(MyService, IMyService)
|
||||
|
||||
MyService::MyService()
|
||||
{
|
||||
|
@ -56,11 +56,11 @@
|
||||
/* extern the factory entry points for each component... */
|
||||
nsresult NS_NewAppShellServiceFactory(nsIFactory** aFactory);
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsCmdLineService);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsAppShellService);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowMediator);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUserInfo);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimingService);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsCmdLineService)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsAppShellService)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowMediator)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUserInfo)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimingService)
|
||||
|
||||
static const nsModuleComponentInfo gAppShellModuleInfo[] =
|
||||
{
|
||||
|
@ -204,7 +204,7 @@ void nsWindowInfo::ReferenceSelf(PRBool inAge, PRBool inZ) {
|
||||
/*********************** nsAppShellWindowEnumerator *****************/
|
||||
/********************************************************************/
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsAppShellWindowEnumerator, nsISimpleEnumerator);
|
||||
NS_IMPL_ISUPPORTS1(nsAppShellWindowEnumerator, nsISimpleEnumerator)
|
||||
|
||||
nsAppShellWindowEnumerator::nsAppShellWindowEnumerator (
|
||||
const PRUnichar* aTypeString,
|
||||
@ -275,7 +275,7 @@ NS_IMETHODIMP nsASDOMWindowEnumerator::GetNext(nsISupports **retval) {
|
||||
mCurrentPosition = FindNext();
|
||||
}
|
||||
return NS_OK;
|
||||
};
|
||||
}
|
||||
|
||||
/********************************************************************/
|
||||
/*********************** nsASXULWindowEnumerator ********************/
|
||||
@ -303,7 +303,7 @@ NS_IMETHODIMP nsASXULWindowEnumerator::GetNext(nsISupports **retval) {
|
||||
mCurrentPosition = FindNext();
|
||||
}
|
||||
return NS_OK;
|
||||
};
|
||||
}
|
||||
|
||||
/********************************************************************/
|
||||
/****************** nsASDOMWindowEarlyToLateEnumerator **************/
|
||||
|
@ -56,7 +56,7 @@ nsCmdLineService::nsCmdLineService()
|
||||
/*
|
||||
* Implement the nsISupports methods...
|
||||
*/
|
||||
NS_IMPL_ISUPPORTS1(nsCmdLineService, nsICmdLineService);
|
||||
NS_IMPL_ISUPPORTS1(nsCmdLineService, nsICmdLineService)
|
||||
|
||||
static void* ProcessURLArg(char* str)
|
||||
{
|
||||
|
@ -757,8 +757,8 @@ nsSiteWindow2::~nsSiteWindow2()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ADDREF_USING_AGGREGATOR(nsSiteWindow2, mAggregator);
|
||||
NS_IMPL_RELEASE_USING_AGGREGATOR(nsSiteWindow2, mAggregator);
|
||||
NS_IMPL_ADDREF_USING_AGGREGATOR(nsSiteWindow2, mAggregator)
|
||||
NS_IMPL_RELEASE_USING_AGGREGATOR(nsSiteWindow2, mAggregator)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(nsSiteWindow2)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
|
@ -50,7 +50,7 @@ nsUserInfo::~nsUserInfo()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo);
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsUserInfo::GetFullname(PRUnichar **aFullname)
|
||||
|
@ -39,7 +39,7 @@ nsUserInfo::~nsUserInfo()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo);
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsUserInfo::GetUsername(char **aUsername)
|
||||
|
@ -63,7 +63,7 @@ nsUserInfo::~nsUserInfo()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo);
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsUserInfo::GetFullname(PRUnichar **aFullname)
|
||||
|
@ -51,7 +51,7 @@ nsUserInfo::~nsUserInfo()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo);
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsUserInfo::GetUsername(char **aUsername)
|
||||
|
@ -217,8 +217,8 @@ nsWebShellWindow::~nsWebShellWindow()
|
||||
PR_DestroyLock(mSPTimerLock);
|
||||
}
|
||||
|
||||
NS_IMPL_THREADSAFE_ADDREF(nsWebShellWindow);
|
||||
NS_IMPL_THREADSAFE_RELEASE(nsWebShellWindow);
|
||||
NS_IMPL_THREADSAFE_ADDREF(nsWebShellWindow)
|
||||
NS_IMPL_THREADSAFE_RELEASE(nsWebShellWindow)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(nsWebShellWindow)
|
||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIWebShellContainer)
|
||||
|
@ -631,9 +631,9 @@ nsWindowMediator::SetZPosition(
|
||||
}
|
||||
|
||||
// COM
|
||||
NS_IMPL_ADDREF( nsWindowMediator );
|
||||
NS_IMPL_QUERY_INTERFACE1(nsWindowMediator, nsIWindowMediator);
|
||||
NS_IMPL_RELEASE(nsWindowMediator);
|
||||
NS_IMPL_ADDREF( nsWindowMediator )
|
||||
NS_IMPL_QUERY_INTERFACE1(nsWindowMediator, nsIWindowMediator)
|
||||
NS_IMPL_RELEASE(nsWindowMediator)
|
||||
|
||||
nsresult
|
||||
nsWindowMediator::Init()
|
||||
|
@ -87,7 +87,7 @@ nsSplashScreenBeOS::~nsSplashScreenBeOS() {
|
||||
Hide();
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsSplashScreenBeOS, nsISplashScreen, nsIObserver);
|
||||
NS_IMPL_ISUPPORTS2(nsSplashScreenBeOS, nsISplashScreen, nsIObserver)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsSplashScreenBeOS::Show() {
|
||||
|
@ -93,7 +93,7 @@ nsSplashScreenCocoa::~nsSplashScreenCocoa()
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsSplashScreenCocoa, nsISplashScreen, nsIObserver);
|
||||
NS_IMPL_ISUPPORTS2(nsSplashScreenCocoa, nsISplashScreen, nsIObserver)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsSplashScreenCocoa::Show()
|
||||
|
@ -121,7 +121,7 @@ nsNativeAppSupportMac::~nsNativeAppSupportMac()
|
||||
HideSplashScreen();
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsNativeAppSupportMac, nsINativeAppSupport, nsIObserver);
|
||||
NS_IMPL_ISUPPORTS2(nsNativeAppSupportMac, nsINativeAppSupport, nsIObserver)
|
||||
|
||||
/* boolean start (); */
|
||||
NS_IMETHODIMP nsNativeAppSupportMac::Start(PRBool *_retval)
|
||||
|
@ -637,8 +637,8 @@ nsBrowserInstance::Close()
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
NS_IMPL_ADDREF(nsBrowserContentHandler);
|
||||
NS_IMPL_RELEASE(nsBrowserContentHandler);
|
||||
NS_IMPL_ADDREF(nsBrowserContentHandler)
|
||||
NS_IMPL_RELEASE(nsBrowserContentHandler)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(nsBrowserContentHandler)
|
||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIContentHandler)
|
||||
@ -655,7 +655,7 @@ nsBrowserContentHandler::~nsBrowserContentHandler()
|
||||
}
|
||||
|
||||
CMDLINEHANDLER_OTHERS_IMPL(nsBrowserContentHandler,"-chrome","general.startup.browser","Load the specified chrome.", PR_TRUE, PR_FALSE)
|
||||
CMDLINEHANDLER_REGISTERPROC_IMPL(nsBrowserContentHandler, "Browser Startup Handler", NS_BROWSERSTARTUPHANDLER_CONTRACTID);
|
||||
CMDLINEHANDLER_REGISTERPROC_IMPL(nsBrowserContentHandler, "Browser Startup Handler", NS_BROWSERSTARTUPHANDLER_CONTRACTID)
|
||||
NS_IMETHODIMP nsBrowserContentHandler::GetChromeUrlForTask(char **aChromeUrlForTask) {
|
||||
|
||||
if (!aChromeUrlForTask)
|
||||
|
@ -47,8 +47,8 @@
|
||||
|
||||
#define ALERT_CHROME_URL "chrome://communicator/content/alerts/alert.xul"
|
||||
|
||||
NS_IMPL_THREADSAFE_ADDREF(nsAlertsService);
|
||||
NS_IMPL_THREADSAFE_RELEASE(nsAlertsService);
|
||||
NS_IMPL_THREADSAFE_ADDREF(nsAlertsService)
|
||||
NS_IMPL_THREADSAFE_RELEASE(nsAlertsService)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(nsAlertsService)
|
||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIAlertsService)
|
||||
|
@ -2589,7 +2589,7 @@ NS_IMETHODIMP nsBookmarksService::Observe(nsISupports *aSubject, const char *aTo
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// nsISupports methods
|
||||
|
||||
NS_IMPL_ADDREF(nsBookmarksService);
|
||||
NS_IMPL_ADDREF(nsBookmarksService)
|
||||
|
||||
NS_IMETHODIMP_(nsrefcnt)
|
||||
nsBookmarksService::Release()
|
||||
|
@ -116,7 +116,7 @@ NS_IMPL_THREADSAFE_ISUPPORTS7(nsHTTPIndex,
|
||||
nsIDirIndexListener,
|
||||
nsIRequestObserver,
|
||||
nsIInterfaceRequestor,
|
||||
nsIFTPEventSink);
|
||||
nsIFTPEventSink)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTTPIndex::GetInterface(const nsIID &anIID, void **aResult )
|
||||
@ -1355,7 +1355,7 @@ nsDirectoryViewerFactory::~nsDirectoryViewerFactory()
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsDirectoryViewerFactory, nsIDocumentLoaderFactory);
|
||||
NS_IMPL_ISUPPORTS1(nsDirectoryViewerFactory, nsIDocumentLoaderFactory)
|
||||
|
||||
|
||||
|
||||
|
@ -111,7 +111,7 @@ static const nsModuleComponentInfo components[] =
|
||||
NS_FILEVIEW_CONTRACTID, nsFileViewConstructor }
|
||||
};
|
||||
|
||||
NS_IMPL_NSGETMODULE(nsFileViewModule, components);
|
||||
NS_IMPL_NSGETMODULE(nsFileViewModule, components)
|
||||
|
||||
|
||||
nsFileView::nsFileView() :
|
||||
@ -145,7 +145,7 @@ nsFileView::Init()
|
||||
|
||||
// nsISupports implementation
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsFileView, nsITreeView, nsIFileView);
|
||||
NS_IMPL_ISUPPORTS2(nsFileView, nsITreeView, nsIFileView)
|
||||
|
||||
// nsIFileView implementation
|
||||
|
||||
|
@ -59,7 +59,7 @@ nsFindService::~nsFindService()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsFindService, nsIFindService);
|
||||
NS_IMPL_ISUPPORTS1(nsFindService, nsIFindService)
|
||||
|
||||
/* attribute AString searchString; */
|
||||
NS_IMETHODIMP nsFindService::GetSearchString(nsAString & aSearchString)
|
||||
|
@ -445,7 +445,7 @@ nsMdbTableEnumerator::~nsMdbTableEnumerator()
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsMdbTableEnumerator, nsISimpleEnumerator);
|
||||
NS_IMPL_ISUPPORTS1(nsMdbTableEnumerator, nsISimpleEnumerator)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsMdbTableEnumerator::HasMoreElements(PRBool* _result)
|
||||
|
@ -410,7 +410,7 @@ private:
|
||||
nsCharsetMenu* mCharsetMenu;
|
||||
};
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsCharsetMenuObserver, nsIObserver);
|
||||
NS_IMPL_ISUPPORTS1(nsCharsetMenuObserver, nsIObserver)
|
||||
|
||||
NS_IMETHODIMP nsCharsetMenuObserver::Observe(nsISupports *aSubject, const char *aTopic, const PRUnichar *someData)
|
||||
{
|
||||
|
@ -913,8 +913,8 @@ InternetSearchDataSource::resolveSearchCategoryEngineURI(nsIRDFResource *engine,
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
NS_IMPL_ADDREF(InternetSearchDataSource);
|
||||
NS_IMPL_RELEASE(InternetSearchDataSource);
|
||||
NS_IMPL_ADDREF(InternetSearchDataSource)
|
||||
NS_IMPL_RELEASE(InternetSearchDataSource)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(InternetSearchDataSource)
|
||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIInternetSearchService)
|
||||
|
@ -56,7 +56,7 @@ nsCmdLineService::nsCmdLineService()
|
||||
/*
|
||||
* Implement the nsISupports methods...
|
||||
*/
|
||||
NS_IMPL_ISUPPORTS1(nsCmdLineService, nsICmdLineService);
|
||||
NS_IMPL_ISUPPORTS1(nsCmdLineService, nsICmdLineService)
|
||||
|
||||
static void* ProcessURLArg(char* str)
|
||||
{
|
||||
|
@ -50,7 +50,7 @@ nsUserInfo::~nsUserInfo()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo);
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsUserInfo::GetFullname(PRUnichar **aFullname)
|
||||
|
@ -39,7 +39,7 @@ nsUserInfo::~nsUserInfo()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo);
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsUserInfo::GetUsername(char **aUsername)
|
||||
|
@ -63,7 +63,7 @@ nsUserInfo::~nsUserInfo()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo);
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsUserInfo::GetFullname(PRUnichar **aFullname)
|
||||
|
@ -51,7 +51,7 @@ nsUserInfo::~nsUserInfo()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo);
|
||||
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsUserInfo::GetUsername(char **aUsername)
|
||||
|
@ -132,7 +132,7 @@ nsUrlWidget::SetURLToHiddenControl( char const *aURL, nsIDOMWindowInternal *pare
|
||||
}
|
||||
|
||||
// Use standard implementation of nsISupports stuff.
|
||||
NS_IMPL_ISUPPORTS1( nsUrlWidget, nsIUrlWidget );
|
||||
NS_IMPL_ISUPPORTS1( nsUrlWidget, nsIUrlWidget )
|
||||
|
||||
nsUrlWidget::nsUrlWidget() {
|
||||
#ifdef DEBUG_URLWIDGET
|
||||
|
@ -111,7 +111,7 @@ static EditableFileTypeRegistryEntry
|
||||
|
||||
// Implementation of the nsIWindowsHooksSettings interface.
|
||||
// Use standard implementation of nsISupports stuff.
|
||||
NS_IMPL_ISUPPORTS1( nsWindowsHooksSettings, nsIWindowsHooksSettings );
|
||||
NS_IMPL_ISUPPORTS1( nsWindowsHooksSettings, nsIWindowsHooksSettings )
|
||||
|
||||
nsWindowsHooksSettings::nsWindowsHooksSettings() {
|
||||
}
|
||||
@ -170,7 +170,7 @@ DEFINE_GETTER_AND_SETTER( HaveBeenSet, mHaveBeenSet )
|
||||
|
||||
// Implementation of the nsIWindowsHooks interface.
|
||||
// Use standard implementation of nsISupports stuff.
|
||||
NS_IMPL_ISUPPORTS2( nsWindowsHooks, nsIWindowsHooks, nsIWindowsRegistry );
|
||||
NS_IMPL_ISUPPORTS2( nsWindowsHooks, nsIWindowsHooks, nsIWindowsRegistry )
|
||||
|
||||
nsWindowsHooks::nsWindowsHooks() {
|
||||
}
|
||||
|
@ -952,4 +952,4 @@ static const nsModuleComponentInfo components[] = {
|
||||
XRemoteServiceConstructor }
|
||||
};
|
||||
|
||||
NS_IMPL_NSGETMODULE(XRemoteServiceModule, components);
|
||||
NS_IMPL_NSGETMODULE(XRemoteServiceModule, components)
|
||||
|
@ -78,7 +78,7 @@ nsInstallTrigger::~nsInstallTrigger()
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS3 (nsInstallTrigger,
|
||||
nsIScriptObjectOwner,
|
||||
nsIDOMInstallTriggerGlobal,
|
||||
nsIContentHandler);
|
||||
nsIContentHandler)
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -173,7 +173,7 @@ nsSoftwareUpdate::~nsSoftwareUpdate()
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS3(nsSoftwareUpdate,
|
||||
nsISoftwareUpdate,
|
||||
nsPIXPIStubHook,
|
||||
nsIObserver);
|
||||
nsIObserver)
|
||||
|
||||
void
|
||||
nsSoftwareUpdate::Shutdown()
|
||||
@ -491,10 +491,10 @@ nsSoftwareUpdateNameSet::InitializeNameSet(nsIScriptContext* aScriptContext)
|
||||
// generic factory.
|
||||
|
||||
NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsSoftwareUpdate,
|
||||
nsSoftwareUpdate::GetInstance);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsInstallTrigger);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsInstallVersion);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSoftwareUpdateNameSet);
|
||||
nsSoftwareUpdate::GetInstance)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsInstallTrigger)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsInstallVersion)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSoftwareUpdateNameSet)
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
|
@ -58,7 +58,7 @@ nsTopProgressListener::~nsTopProgressListener()
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsTopProgressListener, nsIXPIListener);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsTopProgressListener, nsIXPIListener)
|
||||
|
||||
|
||||
long
|
||||
|
@ -110,7 +110,7 @@ nsXPINotifierImpl::~nsXPINotifierImpl()
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsXPINotifierImpl, nsIRDFXMLSinkObserver, nsIUpdateNotification);
|
||||
NS_IMPL_ISUPPORTS2(nsXPINotifierImpl, nsIRDFXMLSinkObserver, nsIUpdateNotification)
|
||||
|
||||
|
||||
nsresult
|
||||
|
@ -41,7 +41,7 @@ nsXPIProxy::~nsXPIProxy()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsXPIProxy, nsPIXPIProxy);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsXPIProxy, nsPIXPIProxy)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPIProxy::RefreshPlugins(PRBool aReloadPages)
|
||||
|
Loading…
Reference in New Issue
Block a user