Mozilla SWT Browser / Java Native Interface [message #1386843] |
Sat, 21 June 2014 10:07  |
Eclipse User |
|
|
|
Hi there,
can someone explain me the structure behind the nsISupports.LAST_METHOD_ID in the implementations of nsISupports?
How can i calculate?
In the nsiCookie, the place in the nsICookie.idl corresponds to the Java implementation, like:
nsICookie
1. readonly attribute ACString name; ==> nsISupports.LAST_METHOD_ID + 1
2. readonly attribute AUTF8String value; ==> (not implemented yet)
3. readonly attribute boolean isDomain; ==> (not implemented yet)
4. readonly attribute AUTF8String host; ==> nsISupports.LAST_METHOD_ID + 4
5. readonly attribute AUTF8String path; ==> nsISupports.LAST_METHOD_ID + 5
in the nsIUri, the order corresponds also, but there are missing ids.
For example the 3rd ist mapped to 4 and the 7th is mapped to 12.
nsIURI
1. attribute AUTF8String spec; ==> nsISupports.LAST_METHOD_ID + 1
2. readonly attribute AUTF8String prePath; ==> (not implemented yet)
3. attribute ACString scheme; ==> nsISupports.LAST_METHOD_ID + 4
4. attribute AUTF8String userPass; ==> (not implemented yet)
5. attribute AUTF8String username; ==> (not implemented yet)
6. attribute AUTF8String password; ==> (not implemented yet)
7. attribute AUTF8String hostPort; ==> nsISupports.LAST_METHOD_ID + 12
Thanks for help
|
|
|
|
Powered by
FUDForum. Page generated in 0.06099 seconds