diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 16:12:54 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 16:12:54 +0000 |
commit | 10452b04c3f5880eb20a8848f6930bb0d375166c (patch) | |
tree | dd807eb1263c4047ea88fae310673545e05f2b8a /odk/examples/java | |
parent | 2fdc6de1fae711ad2929eb343f9dbf809d30ab20 (diff) |
INTEGRATION: CWS sdksample (1.2.124); FILE MERGED
2004/06/25 15:48:01 jsc 1.2.124.1: #i29308# use of new UNO features
Diffstat (limited to 'odk/examples/java')
-rw-r--r-- | odk/examples/java/MinimalComponent/MinimalComponent.idl | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/odk/examples/java/MinimalComponent/MinimalComponent.idl b/odk/examples/java/MinimalComponent/MinimalComponent.idl index ac4441f26396..57e37ea222b9 100644 --- a/odk/examples/java/MinimalComponent/MinimalComponent.idl +++ b/odk/examples/java/MinimalComponent/MinimalComponent.idl @@ -2,9 +2,9 @@ * * $RCSfile: MinimalComponent.idl,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2003-06-30 15:56:36 $ + * last change: $Author: rt $ $Date: 2005-01-31 17:12:54 $ * * The Contents of this file are made available subject to the terms of * the BSD license. @@ -38,19 +38,21 @@ * *************************************************************************/ -#ifndef __org_OpenOffice_MinimalComponent_idl__ -#define __org_OpenOffice_MinimalComponent_idl__ +#ifndef _org_openoffice_MinimalComponent_idl_ +#define _org_openoffice_MinimalComponent_idl_ -#include <com/sun/star/uno/XInterface.idl> +#include <com/sun/star/lang/XServiceInfo.idl> -/// org +// org module org { - /// openoffice - module OpenOffice { - /// example service - service MinimalComponent { + // openoffice + module openoffice { + // example service, XServiceInfo is implemented here for demonstration + // issues. XServiceInfo must be implemented by all components. But + // here it is used to show the new code generation feature for services. + // See the TestMinimalComponent.java how it can be used! + service MinimalComponent: ::com::sun::star::lang::XServiceInfo; }; - }; }; #endif |