xref: /aoo41x/main/idlc/test/service.idl (revision 540d5e64)
1*540d5e64SAndrew Rist/**************************************************************
2*540d5e64SAndrew Rist *
3*540d5e64SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*540d5e64SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*540d5e64SAndrew Rist * distributed with this work for additional information
6*540d5e64SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*540d5e64SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*540d5e64SAndrew Rist * "License"); you may not use this file except in compliance
9*540d5e64SAndrew Rist * with the License.  You may obtain a copy of the License at
10*540d5e64SAndrew Rist *
11*540d5e64SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*540d5e64SAndrew Rist *
13*540d5e64SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*540d5e64SAndrew Rist * software distributed under the License is distributed on an
15*540d5e64SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*540d5e64SAndrew Rist * KIND, either express or implied.  See the License for the
17*540d5e64SAndrew Rist * specific language governing permissions and limitations
18*540d5e64SAndrew Rist * under the License.
19*540d5e64SAndrew Rist *
20*540d5e64SAndrew Rist *************************************************************/
21*540d5e64SAndrew Rist
22cdf0e10cSrcweir#include <interface.idl>
23cdf0e10cSrcweir
24cdf0e10cSrcweirmodule idlc
25cdf0e10cSrcweir{
26cdf0e10cSrcweirmodule test
27cdf0e10cSrcweir{
28cdf0e10cSrcweir
29cdf0e10cSrcweirexception bla
30cdf0e10cSrcweir{
31cdf0e10cSrcweir};
32cdf0e10cSrcweir
33cdf0e10cSrcweirservice IdlTest
34cdf0e10cSrcweir{
35cdf0e10cSrcweir//	[property] bla p0;
36cdf0e10cSrcweir	[property] short p1;
37cdf0e10cSrcweir	[optional, property] unsigned short p2;
38cdf0e10cSrcweir
39cdf0e10cSrcweir	[maybevoid, property] long p3;
40cdf0e10cSrcweir	[bound, property] unsigned long p4;
41cdf0e10cSrcweir
42cdf0e10cSrcweir	[constrained, property] hyper p5;
43cdf0e10cSrcweir	[transient, property] unsigned hyper p6;
44cdf0e10cSrcweir
45cdf0e10cSrcweir	[maybeambiguous, property] string p7;
46cdf0e10cSrcweir	[maybedefault, property] type p8;
47cdf0e10cSrcweir	[removable, property] any p9;
48cdf0e10cSrcweir
49cdf0e10cSrcweir	[readonly, optional, removable, property] ::idlc::test::BaseStruct p10;
50cdf0e10cSrcweir
51cdf0e10cSrcweir	interface XTestBaseTypes;
52cdf0e10cSrcweir	[optional] interface ::idlc::test::XTestComplexTypes;
53cdf0e10cSrcweir};
54cdf0e10cSrcweir
55cdf0e10cSrcweirservice BetterIdlTest
56cdf0e10cSrcweir{
57cdf0e10cSrcweir	service IdlTest;
58cdf0e10cSrcweir
59cdf0e10cSrcweir	interface XTestBaseTypes;
60cdf0e10cSrcweir	[optional] interface ::idlc::test::XTestComplexTypes;
61cdf0e10cSrcweir};
62cdf0e10cSrcweir
63cdf0e10cSrcweir};
64cdf0e10cSrcweir};
65cdf0e10cSrcweir
66