LibreOffice: XUnoTunnel Interface Reference

LibreOffice LibreOffice 5.2 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
XUnoTunnel Interface Referencepublished

An interface to tunnel UNO. More...

`import"XUnoTunnel.idl";`

Inheritance diagram for XUnoTunnel:

## Public Member Functions
hyper | getSomething ([in] sequence< byte > aIdentifier)
| Call this method to get something which is not specified in UNO, e.g. More...
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object. More...
void | acquire ()
| increases the reference counter by one. More...
void | release ()
| decreases the reference counter by one. More...

## Detailed Description

An interface to tunnel UNO.

This means providing access to data or something else, which is not specified by UNO-IDL.

Attention
  Restrictive usage. Use only, if there is no better possibility left. It is definitely a hack.

Common usage: Getting a C++ object pointer in the same process, thus to use an implementation directly, most often because of a design flaw.

Developers Guide
  WritingUNO - XUnoTunnel
  WritingUNO - Core Interfaces to Implement

## Member Function Documentation

hyper getSomething | ( | [in] sequence< byte > | aIdentifier | ) |

Call this method to get something which is not specified in UNO, e.g.

an address to some C++ object.

Attention
  The identifier specifies how the return value is to be reinterpreted. The identifier must be globally unique, because it is unknown where the implementation resides.

Parameters

  aIdentifier | identifier

Returns
  something

The documentation for this interface was generated from the following file:

- com/sun/star/lang/XUnoTunnel.idl