00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include "nsISupports.idl"
00028
00029 interface nsIArray;
00030
00031 interface sbIMediacore;
00032 interface sbIMediacoreFactory;
00033
00034 [scriptable, uuid(da09f47f-8307-4af4-8b8d-9e3ae81d6aae)]
00035 interface sbIMediacoreFactoryRegistrar : nsISupports
00036 {
00037 readonly attribute nsIArray factories;
00038 readonly attribute nsIArray instances;
00039
00040 sbIMediacore createMediacore(in AString aContractID, in AString aUniqueName);
00041 sbIMediacore createMediacoreWithFactory(in sbIMediacoreFactory aFactory,
00042 in AString aUniqueName);
00043
00044 sbIMediacore getMediacore(in AString aInstanceName);
00045
00046 void destroyMediacore(in AString aInstanceName);
00047
00048 void registerFactory(in sbIMediacoreFactory aFactory);
00049 void unregisterFactory(in sbIMediacoreFactory aFactory);
00050 };