summaryrefslogtreecommitdiff
path: root/TAO/tao/diffs/MessagingS.h.diff
blob: 33c53ca66542540355e42bcee84892f455353a71 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
--- orig/MessagingS.h	Mon Apr 30 21:01:17 2001
+++ MessagingS.h	Mon Apr 30 21:28:02 2001
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 //
-// $Id$
+// $Id$
 
 // ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
 // TAO and the TAO IDL Compiler have been developed by:
@@ -23,11 +23,13 @@
 #define _TAO_IDL_ORIG_MESSAGINGS_H_
 
 #include "ace/pre.h"
-#include "TimeBaseS.h"
-#include "IOPS.h"
-#include "PolicyS.h"
-#include "PollableS.h"
-#include "MessagingC.h"
+
+#include "tao/orbconf.h"
+
+#if (TAO_HAS_CORBA_MESSAGING == 1)
+
+#include "tao/TimeBaseS.h"
+#include "tao/MessagingC.h"
 
 
 #if !defined (ACE_LACKS_PRAGMA_ONCE)
@@ -52,6 +54,9 @@
 
 TAO_NAMESPACE  POA_Messaging
 {
+
+#if (TAO_HAS_AMI_CALLBACK == 1)
+
   class ReplyHandler;
   typedef ReplyHandler *ReplyHandler_ptr;
   // Forward Classes Declaration
@@ -138,6 +143,7 @@
     );
   
   private:
+
     // Helper methods that takes care to create the proxy
     // as soon as their use is necessary.
     void create_proxy (
@@ -145,6 +151,8 @@
       CORBA::Environment &ACE_TRY_ENV
     );
     
+  private:
+
     // Caches the proxy implementations. The proxy implementation
     // are totally stateless, and those can be shared by all the
     // instances of a given IDL interface type.
@@ -179,9 +187,9 @@
     
     virtual ~_TAO_ReplyHandler_ThruPOA_Proxy_Impl (void) { }
     
-    
   };
   
+
   //
   //                ThruPOA  Proxy Impl. Declaration
   ///////////////////////////////////////////////////////////////////////
@@ -208,11 +216,17 @@
 ///////////////////////////////////////////////////////////////////////
 
 
+#endif /* TAO_HAS_AMI_CALLBACK == 1 */
+
 }
-TAO_NAMESPACE_CLOSE // module Messaging
+TAO_NAMESPACE_CLOSE
+
+#if (TAO_HAS_AMI_CALLBACK == 1)
 
 #include "MessagingS_T.h"
 
+#endif /* TAO_HAS_AMI_CALLBACK == 1 */
+
 #if defined (__ACE_INLINE__)
 #include "MessagingS.i"
 #endif /* defined INLINE */
@@ -224,6 +238,8 @@
 #if defined (__BORLANDC__)
 #pragma option pop
 #endif /* __BORLANDC__ */
+
+#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
 
 #include "ace/post.h"
 #endif /* ifndef */