summaryrefslogtreecommitdiff
path: root/TAO/tao/diffs/InterceptorC.h.diff
blob: 93fdcda00f83821f7856fc2ed27c79b97c6ce421 (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
--- InterceptorC.h.orig	Sat Apr 29 23:33:47 2000
+++ InterceptorC.h	Sat Apr 29 23:36:14 2000
@@ -1,4 +1,4 @@
-/* -*- C++ -*- $Id$ */
+/* -*- C++ -*- $Id$ */
 
 // ******  Code generated by the The ACE ORB (TAO) IDL Compiler *******
 // TAO and the TAO IDL Compiler have been developed by the Center for
@@ -10,7 +10,11 @@
 #ifndef _TAO_IDL_INTERCEPTORC_H_
 #define _TAO_IDL_INTERCEPTORC_H_
 
-#include "tao/corba.h"
+#include "tao/orbconf.h"
+#include "tao/IOPC.h"
+#include "tao/Object.h"
+#include "tao/Exception.h"
+#include "tao/Environment.h"
 
 #if defined (ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION)
 #include "ace/streams.h"
@@ -20,9 +24,6 @@
 # pragma once
 #endif /* ACE_LACKS_PRAGMA_ONCE */
 
-#include "CORBAC.h"
-#include "IOPC.h"
-
 #if defined (TAO_EXPORT_MACRO)
 #undef TAO_EXPORT_MACRO
 #endif
@@ -42,6 +43,7 @@
 #pragma warning(disable:4250)
 #endif /* _MSC_VER */
 
+#if (TAO_HAS_INTERCEPTORS == 1)
 TAO_NAMESPACE  PortableInterceptor
 {
 
@@ -745,6 +747,8 @@
 #if defined (__ACE_INLINE__)
 #include "InterceptorC.i"
 #endif /* defined INLINE */
+
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
 
 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
 #pragma warning(pop)