From 40c00297deadb5f19020a82520f53d02129f4852 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 7 Jun 2012 21:52:06 +0300 Subject: Clarify ideas a bit, DocumentRenderCallback service not needed Change-Id: I0a91a45dace5d2a35daadf1c9233ab68bee8701e --- .../libreoffice/touch/DocumentRenderCallback.idl | 25 ---------------------- touch/idl/org/libreoffice/touch/XDocument.idl | 8 +++---- 2 files changed, 4 insertions(+), 29 deletions(-) delete mode 100644 touch/idl/org/libreoffice/touch/DocumentRenderCallback.idl (limited to 'touch/idl') diff --git a/touch/idl/org/libreoffice/touch/DocumentRenderCallback.idl b/touch/idl/org/libreoffice/touch/DocumentRenderCallback.idl deleted file mode 100644 index 95e7e7730ed8..000000000000 --- a/touch/idl/org/libreoffice/touch/DocumentRenderCallback.idl +++ /dev/null @@ -1,25 +0,0 @@ -// -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- - -// Copyright 2012 LibreOffice contributors. -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#ifndef org_libreoffice_touch_DocumentRenderCallback_idl -#define org_libreoffice_touch_DocumentRenderCallback_idl - -#include - -module org { module libreoffice { module touch { - -service DocumentRenderCallback: XDocumentRenderCallback -{ - create(); -}; - -}; }; }; - -#endif - -// vim:set shiftwidth=4 softtabstop=4 expandtab: diff --git a/touch/idl/org/libreoffice/touch/XDocument.idl b/touch/idl/org/libreoffice/touch/XDocument.idl index bc3d563d8708..254970e7ee78 100644 --- a/touch/idl/org/libreoffice/touch/XDocument.idl +++ b/touch/idl/org/libreoffice/touch/XDocument.idl @@ -37,10 +37,10 @@ interface XDocument: com::sun::star::uno::XInterface // on Android version and/or hardware? TBD. Will the same format be useful // also for iOS? TBD. - // buffer must have an exact number of bytes for a square number of - // pixels, At the UNO level buffer is represented as the address of its - // bytes, i.e. on Android it must be a "direct" ByteBuffer for that to be - // meaningful. + // buffer must have an exact number of bytes for a square with each side a + // power-of-two number of pixels, At this API level buffer is represented + // as the address of its bytes as a 64-bit integer, i.e. on Android it + // must be a "direct" ByteBuffer for that to be meaningful. // listener gets a "reasonable" number of callbacks during the rendering // if it takes "significantly" long, and can inerrupt the rendering. -- cgit