Changes

Jump to: navigation, search

D-Bus and other Linux desktop integration improvements

No change in size, 14:38, 15 December 2006
XPCOM Tutorial and info
=== XPCOM Tutorial and info ===
XPCOM (Cross Platform Component Object Model) is a cross platform component model from Mozilla. It is similar to CORBA or Microsoft COM. It has multiple language bindings and Interface Description Language let the XPCOM components be used and implemented in JavaScript, Java, and Python in addition to C++. Interfaces in XPCOM are defined in a dialect of IDL called XPIDL.  XPCOM itself provides a set of core components and classes, e.g. file and memory management, threads, basic data structures (strings, arrays, variants), etc. The majority of XPCOM components is not part of this core set and is provided by other parts of the platform (e.g. Gecko or Necko) or by an application or even by an extension.
For D-Bus to work in Mozilla environment we need to create C++ XPCOM components to access the methods with in the D-Bus framework. To create a C++ XPCOM component we need to create the implementation file and component modules for the required methods. Once the components are done we can create interface definition file to connect with the XPCOM components. Follow the steps how to create C++ XPCOM component are listed below.
1
edit

Navigation menu