mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces. Since the C++ generated code upper-cases the method names, this affects no C++ code, but only a few javascript methods. Bug 46771. r=waterson. I am in today and tomorrow.
This commit is contained in:
parent
370ac10052
commit
6385bb207a
@ -446,7 +446,7 @@ var nsLDAPDataSourceModule = {
|
||||
},
|
||||
|
||||
nsLDAPDataSourceFactory: {
|
||||
CreateInstance: function(outer, iid) {
|
||||
createInstance: function(outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
||||
@ -455,7 +455,7 @@ var nsLDAPDataSourceModule = {
|
||||
},
|
||||
|
||||
nsLDAPMessageRDFDelegateFactoryFactory: {
|
||||
CreateInstance: function(outer, iid) {
|
||||
createInstance: function(outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
||||
@ -464,7 +464,7 @@ var nsLDAPDataSourceModule = {
|
||||
},
|
||||
|
||||
nsLDAPURLRDFDelegateFactoryFactory: {
|
||||
CreateInstance: function(outer, iid) {
|
||||
createInstance: function(outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
||||
@ -473,7 +473,7 @@ var nsLDAPDataSourceModule = {
|
||||
},
|
||||
|
||||
nsLDAPConnectionRDFDelegateFactoryFactory: {
|
||||
CreateInstance: function(outer, iid) {
|
||||
createInstance: function(outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
||||
|
@ -82,7 +82,7 @@ CLineService.prototype.openWindowWithArgs=false;
|
||||
/* factory for command line handler service (CLineService) */
|
||||
CLineFactory = new Object();
|
||||
|
||||
CLineFactory.CreateInstance =
|
||||
CLineFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
@ -138,7 +138,7 @@ function (aContentType, aCommand, aWindowTarget, aSourceContext, aChannel)
|
||||
/* content handler factory object (IRCContentHandler) */
|
||||
IRCContentHandlerFactory = new Object();
|
||||
|
||||
IRCContentHandlerFactory.CreateInstance =
|
||||
IRCContentHandlerFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
@ -181,7 +181,7 @@ function (aURI)
|
||||
/* protocol handler factory object (IRCProtocolHandler) */
|
||||
IRCProtocolHandlerFactory = new Object();
|
||||
|
||||
IRCProtocolHandlerFactory.CreateInstance =
|
||||
IRCProtocolHandlerFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
@ -18,9 +18,9 @@
|
||||
|
||||
/*
|
||||
* nsDictionary XPCOM component
|
||||
* Version: $Revision: 1.2 $
|
||||
* Version: $Revision: 1.3 $
|
||||
*
|
||||
* $Id: nsDictionary.js,v 1.2 2000/05/09 11:33:40 mj%digicool.com Exp $
|
||||
* $Id: nsDictionary.js,v 1.3 2000/08/10 20:11:58 rayw%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -103,7 +103,7 @@ var nsDictionaryModule = {
|
||||
|
||||
/* nsDictionary Class Factory */
|
||||
var nsDictionaryFactory = {
|
||||
CreateInstance: function(outer, iid) {
|
||||
createInstance: function(outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
||||
|
@ -18,9 +18,9 @@
|
||||
|
||||
/*
|
||||
* nsXmlRpcClient XPCOM component
|
||||
* Version: $Revision: 1.9 $
|
||||
* Version: $Revision: 1.10 $
|
||||
*
|
||||
* $Id: nsXmlRpcClient.js,v 1.9 2000/07/27 14:52:47 mj%digicool.com Exp $
|
||||
* $Id: nsXmlRpcClient.js,v 1.10 2000/08/10 20:11:58 rayw%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -1269,7 +1269,7 @@ var nsXmlRpcClientModule = {
|
||||
|
||||
/* nsXmlRpcClient Class Factory */
|
||||
var nsXmlRpcClientFactory = {
|
||||
CreateInstance: function(outer, iid) {
|
||||
createInstance: function(outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
||||
@ -1283,7 +1283,7 @@ var nsXmlRpcClientFactory = {
|
||||
|
||||
/* nsXmlRpcFault Class Factory */
|
||||
var nsXmlRpcFaultFactory = {
|
||||
CreateInstance: function(outer, iid) {
|
||||
createInstance: function(outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
||||
|
@ -83,7 +83,7 @@ CLineService.prototype.openWindowWithArgs=false;
|
||||
/* factory for command line handler service (CLineService) */
|
||||
CLineFactory = new Object();
|
||||
|
||||
CLineFactory.CreateInstance =
|
||||
CLineFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
@ -142,7 +142,7 @@ function (aContentType, aCommand, aWindowTarget, aSourceContext, aChannel)
|
||||
/* content handler factory object (TelnetContentHandler) */
|
||||
TelnetContentHandlerFactory = new Object();
|
||||
|
||||
TelnetContentHandlerFactory.CreateInstance =
|
||||
TelnetContentHandlerFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
@ -185,7 +185,7 @@ function (aURI)
|
||||
/* protocol handler factory object (TelnetProtocolHandler) */
|
||||
TelnetProtocolHandlerFactory = new Object();
|
||||
|
||||
TelnetProtocolHandlerFactory.CreateInstance =
|
||||
TelnetProtocolHandlerFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
@ -77,7 +77,7 @@ filterModule.canUnload =
|
||||
}
|
||||
|
||||
var filtersFactory = new Object();
|
||||
filtersFactory.CreateInstance =
|
||||
filtersFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
@ -97,7 +97,7 @@ pacModule.canUnload =
|
||||
}
|
||||
|
||||
var pacFactory = new Object();
|
||||
pacFactory.CreateInstance =
|
||||
pacFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
@ -25,8 +25,8 @@
|
||||
[scriptable, object, uuid(00000001-0000-0000-c000-000000000046)]
|
||||
interface nsIFactory : nsISupports {
|
||||
|
||||
void CreateInstance(in nsISupports aOuter, in nsIIDRef iid,
|
||||
void createInstance(in nsISupports aOuter, in nsIIDRef iid,
|
||||
[retval, iid_is(iid)] out nsQIResult result);
|
||||
|
||||
void LockFactory(in PRBool lock);
|
||||
void lockFactory(in PRBool lock);
|
||||
};
|
||||
|
@ -93,7 +93,7 @@ var myModule = {
|
||||
* know what aggregation is all about, you don't need to. It reduces
|
||||
* even the mightiest of XPCOM warriors to snivelling cowards.)
|
||||
*/
|
||||
CreateInstance: function (outer, iid) {
|
||||
createInstance: function (outer, iid) {
|
||||
dump("CI: " + iid + "\n");
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
@ -92,7 +92,7 @@ var jsConsoleHandlerModule = {
|
||||
|
||||
/* jsConsoleHandler Class Factory */
|
||||
var jsConsoleHandlerFactory = {
|
||||
CreateInstance: function(outer, iid) {
|
||||
createInstance: function(outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
||||
|
@ -205,7 +205,7 @@ function(compMgr)
|
||||
/* factory object */
|
||||
filePickerFactory = new Object();
|
||||
|
||||
filePickerFactory.CreateInstance =
|
||||
filePickerFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
debug("CI: " + iid);
|
||||
debug("IID:" + nsIFilePicker);
|
||||
|
@ -205,7 +205,7 @@ function(compMgr)
|
||||
/* factory object */
|
||||
filePickerFactory = new Object();
|
||||
|
||||
filePickerFactory.CreateInstance =
|
||||
filePickerFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
debug("CI: " + iid);
|
||||
debug("IID:" + nsIFilePicker);
|
||||
|
@ -135,7 +135,7 @@ var module = {
|
||||
myCID: Components.ID("{97c8d0de-1dd1-11b2-bc64-86a3aaf8f5c5}"),
|
||||
|
||||
myFactory: {
|
||||
CreateInstance: function (outer, iid) {
|
||||
createInstance: function (outer, iid) {
|
||||
if (outer != null)
|
||||
throw Components.results.NS_ERROR_NO_AGGREGATION;
|
||||
|
||||
|
@ -356,7 +356,7 @@ function(compMgr)
|
||||
/* factory object */
|
||||
sidebarFactory = new Object();
|
||||
|
||||
sidebarFactory.CreateInstance =
|
||||
sidebarFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
debug("CI: " + iid);
|
||||
if (outer != null)
|
||||
|
Loading…
Reference in New Issue
Block a user