I IDL-ifying the nsProxyObjectManager.

I have updated all users that I found
grepping the source tree.

r=valeski@netscape.com
a=waterson@netscape.com
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
This commit is contained in:
dougt@netscape.com
2000-06-24 00:03:10 +00:00
parent 490a768a36
commit 37da6f1230
29 changed files with 220 additions and 399 deletions

View File

@@ -28,7 +28,7 @@
#include "nsMemory.h"
#include "nsIServiceManager.h"
#include "nsProxyObjectManager.h"
#include "nsIProxyObjectManager.h"
#include "nsConsoleService.h"
#include "nsConsoleMessage.h"
@@ -253,11 +253,11 @@ nsConsoleService::RegisterListener(nsIConsoleListener *listener) {
*
* Would it be better to catch that case and leave the listener unproxied?
*/
rv = proxyManager->GetProxyObject(NS_CURRENT_EVENTQ,
NS_GET_IID(nsIConsoleListener),
listener,
PROXY_ASYNC | PROXY_ALWAYS,
getter_AddRefs(proxiedListener));
rv = proxyManager->GetProxyForObject(NS_CURRENT_EVENTQ,
NS_GET_IID(nsIConsoleListener),
listener,
PROXY_ASYNC | PROXY_ALWAYS,
getter_AddRefs(proxiedListener));
if (NS_FAILED(rv))
return rv;