interface nsIFoo
{
    readonly attribute float foo;
};

xpidl generate only :

float GetFoo()

method in public section in nsIFoo class.
I think that xpidl should also generate a

void SetFoo( float val )

but in a protected section because as you always access foo attribute 
with GetFoo method (and I know you do :-) you should never access foo 
directly.


Reply via email to