Changes

Jump to: navigation, search

Researching XPIDL and IDL Technologies

371 bytes added, 12:15, 4 October 2006
Methods
C++ get and set methods for attributes are automatically declared for attributes in the
interface. For example attribute name foo generates accessor methods GetFoo and SetFoo.
 
=== Compiler ===
The compiler capitalizes method names when generating C++ headers.
It supports existing C++ convention in Mozilla, used the InterCaps method naming style. The method name used in XPIDL will appear with the same capitalization to JavaScript, so the best practice is to match JavaScript convention by declaring attributes and method names in InterCaps.
 
=== Built In Types ===
Type C++
1
edit

Navigation menu