Mozilla/mozilla/java/xpcom/xpcom/bcXPCOMStubsAndProxies.h
idk%eng.sun.com 9a8241b0ee *not part the build*
fix for 77140


git-svn-id: svn://10.0.0.236/trunk@93464 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 11:21:18 +00:00

57 lines
1.8 KiB
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Sun are
* Copyright (C) 1999 Sun Microsystems, Inc. All
* Rights Reserved.
*
* Contributor(s):
* Igor Kushnirskiy <idk@eng.sun.com>
*/
#ifndef __bcXPCOMStubsAndProxies_h
#define __bcXPCOMStubsAndProxies_h
#include "bcIXPCOMStubsAndProxies.h"
#include "bcIORB.h"
#include "bcIStub.h"
#include "bcXPCOMStubsAndProxiesCID.h"
class nsSupportsHashtable;
class bcXPCOMStubsAndProxies : public bcIXPCOMStubsAndProxies {
NS_DECL_ISUPPORTS
NS_DEFINE_STATIC_IID_ACCESSOR(BC_XPCOMSTUBSANDPROXIES_IID)
NS_IMETHOD GetStub(nsISupports *obj, bcIStub **stub);
NS_IMETHOD GetOID(nsISupports *obj, bcIORB *orb, bcOID *oid);
NS_IMETHOD GetProxy(bcOID oid, const nsIID &iid, bcIORB *orb, nsISupports **proxy);
NS_IMETHOD GetEventQueue(nsIEventQueue **eventQueue);
NS_IMETHOD PopEventQueue(nsIEventQueue **eventQueue);
NS_IMETHOD PushEventQueue(nsIEventQueue *eventQueue);
bcXPCOMStubsAndProxies();
virtual ~bcXPCOMStubsAndProxies();
private:
nsSupportsHashtable * oid2objectMap;
PRUintn threadPrivateIndex;
};
#endif /* __bcXPCOMStubsAndProxies_h */