SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
Void |
Enum(
PFNREGENUM notify
, VoidPtr data
, Bool all
) This function is used to enumerate the registry.
|
AEECLSID |
GetHandler(
AEECLSID clsType
, ACharConstPtr mime
) This function retrieves the currently active registered handler for the base class and mime type.
|
AEECLSID |
GetHandler(
AEECLSID clsType
, SFXAnsiStringConstRef mime
) This function retrieves the currently active registered handler for the base class and mime type.
|
static SFBRegistrySmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBRegistry instance.
|
static SFBRegistrySmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBRegistry instance.
|
SFCError |
SetHandler(
AEECLSID clsType
, ACharConstPtr mime
, AEECLSID clsid
) This function is used register a handler for the mime type and base class. If successfull the hanlder becomes the active handler.
|
SFCError |
SetHandler(
AEECLSID clsType
, SFXAnsiStringConstRef mime
, AEECLSID clsid
) This function is used register a handler for the mime type and base class. If successfull the hanlder becomes the active handler.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] Void Enum( PFNREGENUM notify // Callback function to be called for each item. VoidPtr data // User context pointer for the callback function. Bool all // If FALSE only the active handlers are enumerated. If TRUE active handlers plus all the handlers present in MIFs. );
This is a synchronous function, which returns when the enumeration is over. The enumeration is stopped when all the elements have been enumerated or PFNREGENUM returns FALSE.
[ public ] AEECLSID GetHandler( AEECLSID clsType // Base class or interface for the registered handler ACharConstPtr mime // Mime type to be queried. );
[ public ] AEECLSID GetHandler( AEECLSID clsType // Base class or interface for the registered handler SFXAnsiStringConstRef mime // Mime type to be queried. );
AEECLSID: Class id of the registered handler, or 0 if no registered handler is found for that mime type and base class.
[ public, static ] SFBRegistrySmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBRegistrySmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError SetHandler( AEECLSID clsType // Base class or interface for the handler ACharConstPtr mime // Mime type to be queried AEECLSID clsid // The class id of the handler to be registered );
[ public ] SFCError SetHandler( AEECLSID clsType // Base class or interface for the handler SFXAnsiStringConstRef mime // Mime type to be queried AEECLSID clsid // The class id of the handler to be registered );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |