summaryrefslogtreecommitdiff
path: root/TAO/tests/Quoter/Factory_Trader.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Quoter/Factory_Trader.h')
-rw-r--r--TAO/tests/Quoter/Factory_Trader.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/TAO/tests/Quoter/Factory_Trader.h b/TAO/tests/Quoter/Factory_Trader.h
index 39888b5ce24..fdfec0d32aa 100644
--- a/TAO/tests/Quoter/Factory_Trader.h
+++ b/TAO/tests/Quoter/Factory_Trader.h
@@ -14,14 +14,17 @@
//
// ============================================================================
+#if !defined (FACTORY_TRADER_H)
+#define FACTORY_TRADER_H
#include "tao/corba.h"
+
+#ifdef TRADER_AVAILABLE
#include "orbsvcs/Trader/Trader.h"
#include "orbsvcs/Trader/Service_Type_Repository.h"
#include "orbsvcs/CosLifeCycleC.h"
+#endif // TRADER_AVAILABLE
-#if !defined (FACTORY_TRADER_H)
-#define FACTORY_TRADER_H
class Factory_Trader
{
@@ -43,10 +46,15 @@ public:
static const char * GENERIC_FACTORY_INTERFACE_REPOSITORY_ID;
private:
+
+#ifdef TRADER_AVAILABLE
+
TAO_Service_Type_Repository repository_;
TAO_Trader_Factory::TAO_TRADER *trader_ptr_;
TAO_Trading_Components_Impl *trading_Components_ptr_;
TAO_Support_Attributes_Impl *support_Attributes_ptr_;
+
+#endif // TRADER_AVAILABLE
};
#endif // FACTORY_TRADER_H