Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

I am creating a set of C++ classes designed to hide all the ugliness associated with IActorContext, IVfsCacheModel, IVfsCacheContainer, etc. In order to do this, I need to create custom implementations of all of these interfaces (excepting IVfsCacheModel which is already there).

I'm having trouble figuring out how to implement IActorContext. Because I can't find any code which creates it explicitly, I'm assuming it's created through ISHELL_CreateInstance, via an AEECLSID_ enum. The problem is I can't seem to find the appropriate class ID, and there is no documentation on implementing IActorContext in the uiOne docs, and IActorContext is missing entirely from the BREW 3.1.4 sdk docs.

Please enlighten me on going about implementing IActorContext! Or, if I'm taking the wrong approach (my goal is to provide custom implementations of IVfsCacheModel, IVfsNodeModel, IVfsNode and all IVfsNode subinterfaces), please enlighten me thusly.

Maybe I'm asking too much. How would I just go about adding a pointer to IVfsNode and friends? I want to keep a pointer to the corresponding C++ class instance.

Maybe I'm asking too much. How would I just go about adding a pointer to IVfsNode and friends? I want to keep a pointer to the corresponding C++ class instance.