1 // Class definitions for dllexport-MI1.C and dllimport-MI1.C
2 
3 #ifdef BUILDING_MI_DLL
4 #define  DLL_IMPEXP __attribute__ ((dllexport))
5 #else
6 #define  DLL_IMPEXP __attribute__ ((dllimport))
7 #endif
8 
9 
10 #define D1_return 1
11 #define D2_return 2
12 
13 class DLL_IMPEXP MBase
14 {
15 public:
16   virtual int vf() const = 0;
17   virtual ~MBase();
18 };
19 
20 class DLL_IMPEXP D1 : virtual public MBase
21 {
22 public:
23   int vf() const;
24 };
25 
26 class DLL_IMPEXP D2 : virtual public MBase
27 {
28 public:
29   D2 ();
30   D2 (D2 const&);
31   int vf() const;
32 };
33 
34 class DLL_IMPEXP MI1 : public D1, public D2
35 {
36 public:
37   int vf() const;
38 };
39 
40