* not part of the build*
Fixed 71951, 74511, 74525 git-svn-id: svn://10.0.0.236/trunk@91125 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -37,6 +37,7 @@ XPIDLSRCS = bcIBlackConnectInit.idl
|
||||
CPPSRCS = bcBlackConnectInit.cpp
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
include ../config/rules.mk
|
||||
|
||||
COMPONENT=bcBlackConnectInit
|
||||
CLASSES=bcIBlackConnectInit.class bcBlackConnectInit.class
|
||||
@@ -44,7 +45,10 @@ CLASSES=bcIBlackConnectInit.class bcBlackConnectInit.class
|
||||
$(COMPONENT).jar.comp: manifest $(CLASSES)
|
||||
$(JDKHOME)/bin/jar cvfm $(COMPONENT).jar.comp manifest *.class
|
||||
.java.class:
|
||||
$(JDKHOME)/bin/javac -classpath .:../classes $<
|
||||
$(JDKHOME)/bin/javac -classpath .:../classes:$(DIST)/classes $<
|
||||
|
||||
bcIBlackConnectInit.java : bcIBlackConnectInit.idl
|
||||
|
||||
install-component: $(COMPONENT).jar.comp $(COMPONENT).jar.info
|
||||
cp $(COMPONENT).jar.comp $(COMPONENT).jar.info $(DEPTH)/dist/bin/components/
|
||||
clobber-java:
|
||||
|
||||
@@ -26,8 +26,8 @@ public class bcBlackConnectInit implements bcIBlackConnectInit {
|
||||
}
|
||||
public Object queryInterface(IID iid) {
|
||||
Object result;
|
||||
if ( nsISupportsIID.equals(iid)
|
||||
|| bcIBlackConnectInitIID.equals(iid)) {
|
||||
if ( nsISupports.IID.equals(iid)
|
||||
|| bcIBlackConnectInit.IID.equals(iid)) {
|
||||
result = this;
|
||||
} else {
|
||||
result = null;
|
||||
@@ -39,9 +39,6 @@ public class bcBlackConnectInit implements bcIBlackConnectInit {
|
||||
Components.setComponentManager(cm);
|
||||
Debug.log("Components.setComponentManager(cm);");
|
||||
}
|
||||
|
||||
static IID bcIBlackConnectInitIID = new IID(bcIBlackConnectInit.IID);
|
||||
static IID nsISupportsIID = new IID(nsISupports.IID);
|
||||
static {
|
||||
InterfaceRegistry.register(nsIComponentManager.class);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "nsISupports.idl"
|
||||
#include "nsIComponentManager.idl"
|
||||
|
||||
#pragma prefix
|
||||
[scriptable, uuid(d4867a7e-1dd1-11b2-a009-b111ab5d7639)]
|
||||
|
||||
interface bcIBlackConnectInit : nsISupports
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* ************* DO NOT EDIT THIS FILE ***********
|
||||
*
|
||||
* This file was automatically generated from bcIBlackConnectInit.idl.
|
||||
*/
|
||||
|
||||
|
||||
import org.mozilla.xpcom.*;
|
||||
|
||||
|
||||
/**
|
||||
* Interface bcIBlackConnectInit
|
||||
*
|
||||
* IID: 0xd4867a7e-1dd1-11b2-a009-b111ab5d7639
|
||||
*/
|
||||
|
||||
public interface bcIBlackConnectInit extends nsISupports
|
||||
{
|
||||
public static final String IID =
|
||||
"d4867a7e-1dd1-11b2-a009-b111ab5d7639";
|
||||
|
||||
|
||||
/* void initComponentManager (in nsIComponentManager cm); */
|
||||
public void initComponentManager(nsIComponentManager cm);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* end
|
||||
*/
|
||||
@@ -41,6 +41,7 @@ OBJS = .\$(OBJDIR)\bcBlackConnectInit.obj
|
||||
LLIBS=$(LLIBS) $(LIBNSPR) $(DIST)\lib\xpcom.lib
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
include ..\config\rules.mak
|
||||
|
||||
COMPONENT=bcBlackConnectInit
|
||||
CLASSES=bcIBlackConnectInit.class bcBlackConnectInit.class
|
||||
@@ -51,7 +52,9 @@ $(COMPONENT).jar.comp: manifest $(CLASSES)
|
||||
.SUFFIXES: .java .class
|
||||
|
||||
.java.class:
|
||||
$(JDKHOME)\bin\javac -classpath .;..\classes $<
|
||||
$(JDKHOME)\bin\javac -classpath .;..\classes;$(DEPTH)\dist\classes $<
|
||||
|
||||
bcIBlackConnectInit.java : bcIBlackConnectInit.idl
|
||||
|
||||
install-component: $(COMPONENT).jar.comp $(COMPONENT).jar.info $(DLL)
|
||||
copy $(COMPONENT).jar* $(DIST)\bin\components
|
||||
|
||||
Reference in New Issue
Block a user