[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] How to return aDesiredContentType in Mozilla.IsPreferred

Hi,

I want to return in the Mozilla.IsPreferred method a different mimetype so that a streamconverter is called.
Therefore I change the Mozilla.java by hand but currently it hangs or crashes.


Can someone give me a tip how can I return a different mimetpe such as "application/word"?

the orignal code looks like
 if (preferred) {
	XPCOM.memmove (aDesiredContentType, new int /*long*/[] {0}, C.PTR_SIZEOF);
}

which XPCOM.memmove would I have to make?

thx in advance,
jack