Steve Swanson wrote:
So I want to have IDL lines which look something like
    const unsigned long SeriesOrder         = EID_SERIESORDER;
where the RHS is a constant defined in the .h file.

This is not supported. Typically you'll see an #include of some c/c++ header surrounded by a "directive" like that below:


%{ C++
#include "jspubtd.h"
#include "xptinfo.h"
%}


This simply injects the #include's statments into the C++ header that is generated by the xpidl compiler. I does not introduce any declarations within the headers into the IDL namespace.


David
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to