Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hey,

On Fri, Sep 16, 2016 at 10:55 PM, <aptares@gmx.de> wrote:

The current source code in XComponent.idl looks like:

#ifndef __com_sun_star_lang_XComponent_idl__
20 #define __com_sun_star_lang_XComponent_idl__
21
22 #include <com/sun/star/uno/XInterface.idl>
23
24
25 module com { module sun { module star { module lang {
26
27 * published interface XEventListener;*
28
42 published interface XComponent: com::sun::star::uno::XInterface
43 {
73  void dispose();
74
92  void addEventListener( [in] XEventListener xListener );
93
108  void removeEventListener( [in] XEventListener aListener );
109
110 };
111
112
113 }; }; }; };
114
115 #endif

can anyone check - and if positively found incorrect change the source -
the following alternative:

....
 #include <com/sun/star/uno/XInterface.idl>
* #include <com/sun/star/lang/XEventListener.idl>*
  24
25 module com { module sun { module star { module lang {
26
42 published interface XComponent: com::sun::star::uno::XInterface
....

thx

andy



The old code looks fine. This is a forward declaration in the idl file. You
can see the generated c++ code for it in e.g.
workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/lang/XComponent.hdl

Markus

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.