Embedding/NewApi: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:
The new API has a common C++ layer built on top of the existing API. The new API thus encapsulates many of the complexities of setting up and using XPCOM.
The new API has a common C++ layer built on top of the existing API. The new API thus encapsulates many of the complexities of setting up and using XPCOM.


The common layer is then used by platform/toolkit specific APIs. This will allow embedders to use component that fit well into their application, e.g. GTK or Qt widgets.
The common layer is then used by platform/toolkit specific APIs. This will allow embedders to use components that fit well into their application, e.g. GTK or Qt widgets.


Having the common layer also makes it a lot easier to add support for additional toolkits as this should only require a relative thin wrapper.
Having the common layer also makes it a lot easier to add support for additional toolkits as this should only require a relative thin wrapper.
73

edits

Navigation menu