Changes

Jump to: navigation, search

Researching XPIDL and IDL Technologies

461 bytes added, 13:03, 4 October 2006
Interfaces
To specify an interface's parent, follow the interface name with a colon and the parent name
interface nsIToolbar : nsIParent {
};
 
=== Methods ===
An interface can have both methods and attributes. Attributes are properties of interface objects that can be read and optionally set. The following example
- Attributes, properties of interface objects, can be read and optionally set.
- This is an example of an interface with one method (no return value, no parameters) named fun and an integer-valued attribute named attr
 
interface nsIFoo {
attribute long attr;
void fun();
};
1
edit

Navigation menu