Kaydet (Commit) d4a953e5 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Tell people not to use createScreenCompatibleDeviceUsingBuffer()

I would have liked to kill this whole interface but it turns out that despite
it being not published it is already being used for essential functionality by
3rd parties. Oh well, that is of course exactly what to expect with something
explicitly marked as "experimental".

Change-Id: I38716a23580313d955ae6bf09dfbcac519a7fb4e
üst 02a88ffe
...@@ -19,19 +19,7 @@ module com { module sun { module star { module awt { ...@@ -19,19 +19,7 @@ module com { module sun { module star { module awt {
interface XToolkitExperimental : XToolkit2 interface XToolkitExperimental : XToolkit2
{ {
/** Create a bitmap device using a byte buffer allocated outside of UNO territory. /** Don't use this.
*
* @returns the device
*
* @param AddressOfMemoryBufferForSharedArrayWrapper is the address of a
* (C++) object the exact type of which is to be determined, but the point
* is that it will then be rewrapped into a boost::shared_array of bytes to
* be passed to the basebmp code. shared_array has its own style of
* reference counting, naturally not related to UNO's or Java's, so lots of
* fun stuff to take care of. I won't bother complicating stuff with
* XUnoTunnel here (if it would even be possible to use it), this isn't in
* any way intended to be "generic" anyway, but is experimental work in
* progress, indented just for Android so far, and probably for iOS, too.
*/ */
com::sun::star::awt::XDevice createScreenCompatibleDeviceUsingBuffer( [in] long Width, com::sun::star::awt::XDevice createScreenCompatibleDeviceUsingBuffer( [in] long Width,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment