Difference between revisions of "Researching XPIDL and IDL Technologies"
(→Introduction) |
(→Introduction) |
||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
XPIDL stands for XP Interface Description Language. It is a specification for XPCOM which is a cross platform adapter description language. An adapter description language is used to describe an adapter which unrelated with its machine language. The description of the adapter can use specialized tools to handle automatoc generation of language that is unrelated to the adapter's specifications. Typically XPIDL is frequently used to generate C++ header files and typelib information. | XPIDL stands for XP Interface Description Language. It is a specification for XPCOM which is a cross platform adapter description language. An adapter description language is used to describe an adapter which unrelated with its machine language. The description of the adapter can use specialized tools to handle automatoc generation of language that is unrelated to the adapter's specifications. Typically XPIDL is frequently used to generate C++ header files and typelib information. | ||
+ | |||
+ | == Language == | ||
+ | |||
+ | === Interfaces === | ||
+ | An interface is declared with the interface keyword, and the simplest possible interface is interface nsToolbar { | ||
+ | }; | ||
+ | |||
+ | To specify an interface's parent, follow the interface name with a colon and the parent name : | ||
+ | interface nsIToolbar : nsIParent { | ||
+ | }; |
Revision as of 11:58, 4 October 2006
Introduction
XPIDL stands for XP Interface Description Language. It is a specification for XPCOM which is a cross platform adapter description language. An adapter description language is used to describe an adapter which unrelated with its machine language. The description of the adapter can use specialized tools to handle automatoc generation of language that is unrelated to the adapter's specifications. Typically XPIDL is frequently used to generate C++ header files and typelib information.
Language
Interfaces
An interface is declared with the interface keyword, and the simplest possible interface is interface nsToolbar {
};
To specify an interface's parent, follow the interface name with a colon and the parent name : interface nsIToolbar : nsIParent { };