Tabish F. Mufti wrote:
On 11/17/06, Stephan Bergmann <[EMAIL PROTECTED]> wrote:

Tabish F. Mufti wrote:
> ------------------------------------------------------------------------
>
> #ifndef __com_sun_star_ex_comp_Sentence_idl__
> #define __com_sun_star_ex_comp_Sentence_idl__
>
>
> // Avoid redefinition of already included types or interface, for
instance,
> // the following case, com/sun/star/foo/Bar.idl have XSentence interface
> // definition.
>
> #ifndef __com_sun_star_foo_Bar_idl__
> #include "XSentence.idl"
> #endif

You do not need the above include, the below forward declaration is
enough.

> module com {  module sun {  module star {  module ex {  module comp {
>
> interface com::sun::star::ex::comp::XSentence;

should of course read

  interface XSentence;

instead.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to