usage of AEEINTERFACE() | developer.brewmp.com usage of AEEINTERFACE() | developer.brewmp.com

Developer

usage of AEEINTERFACE()

Forums:

Hi,
I have been writing an API extension for BREW 3.x.
I am a bit lost about the right usage of new interface macro, AEEINTERFACE.
I am trying to model the extension(for a common utility) as an class/object, which will not be an applet(common sense).
While the actual applications have their own structure for data, which contains AEEApplet structure, and which, by use of QINTERFACE macro, indirectly contains the virtual function table as well. So, as one can see, it indeed defines an implementation for "class" construct.
My question is that how is AEEINTERFACE() used *in reference* to definition of a class? Is there any class, whose data structure(for its own data) indirectly contains the interface functions, which have been placed using the AEEINTERFACE macro(and hence one level of indirection due to pvt pointer in iname structure cut down)? I have a suspicion that if a module?/class?/applet has exposed its interface using AEEINTERFACE() macro, then its own data structure(s) and inameVtbl data structure are disconnected(the latter not contained in some way in the former).
I will be grateful to whomever providing the light!

Warm Regards
Hrishikesh.