ksachdeva wrote: > Since I want my extension to be compatibile with versions of Firefox > which are 1.5+ I intend to use only frozen interfaces i.e do not want > to use MOZILLA_INTERNAL_API pre-processor. First I made my protocol
Note that "using frozen linkage" and "using only frozen interfaces" are not the same thing at all. You can use frozen linkage and still use nonfrozen interfaces. > But now emulating XmlHttpRequest implementation is giving me similar > problems and I am stuck with no solution for the moment. I am trying to > use nsIDocument.h whose inclusion require MOZIILA_INTERNAL_API and fail > with error message <quote>Cannot use internal string classes without > MOZILLA_INTERNAL_API defined. Use the frozen header nsStringAPI.h > instead</quote>, the same message which I removed earlier from my > handler implementation. nsIDocument is a very-internal pseudo-interface and it will never be frozen (it even changed between Firefox 1.5.0.x and Firefox 2). On the Mozilla trunk we've fixed the headers so that you could use nsIDocument from frozen-linkage code, but that doesn't help you much on the branches. --BDS _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
