summaryrefslogtreecommitdiff
path: root/CIAO/tests/IDL_Test/Inherited_Component/Extended/Base.idl
blob: e464b4f869c95d55c84b076b5f47460207fd49f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef BASE_IDL
#define BASE_IDL

#include <Components.idl>

#pragma ciao lem "BaseE.idl"

module Inherited
{
  interface base_interface {
    void do_base ();

    attribute string str_base_interface;
  };

  interface derived_interface : base_interface {
    void do_derived ();

    readonly attribute string str_derived_interface;
  };

  interface another_interface {
    void do_another ();
  };
};

#if !defined (CCM_NOEVENT)
eventtype Message {};
#endif

module Inherited
{
   component Base_comp
   {
      provides Inherited::base_interface prov_base;
      uses     Inherited::base_interface uses_base;
#if !defined (CCM_NOEVENT)
      publishes Message message_publisher;
#endif
      attribute long base;
   };
};

#endif