summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Base/Client_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/Base/Client_init.h')
-rw-r--r--CIAO/ciao/Base/Client_init.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/CIAO/ciao/Base/Client_init.h b/CIAO/ciao/Base/Client_init.h
deleted file mode 100644
index 4f22a717b2f..00000000000
--- a/CIAO/ciao/Base/Client_init.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// -*- C++ -*-
-/**
- * @file Client_init.h
- *
- * Initializing CIAO client side ORB, if they need to.
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-
-#ifndef CIAO_CLIENT_INIT_H
-#define CIAO_CLIENT_INIT_H
-
-#include /**/ "ace/pre.h"
-
-#include "tao/orbconf.h"
-
-#if !defined ACE_LACKS_PRAGMA_ONCE
-#pragma once
-#endif /* ! ACE_LACKS_PRAGMA_ONCE */
-
-#include "ciao/Base/CIAO_Base_stub_export.h"
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-namespace CORBA
-{
- class ORB;
- typedef ORB *ORB_ptr;
-}
-TAO_END_VERSIONED_NAMESPACE_DECL
-
-namespace CIAO
-{
- /**
- * The initialize routine for any clients that need to access
- * components. This routine now simply registers various valuetype
- * factories defined in CIAO_Component.pidl. Currently, this method
- * should be call right after ORB initialization but we should try
- * to register these stuff automatically.
- */
- CIAO_BASE_STUB_Export int Client_init (CORBA::ORB_ptr o);
-}
-
-#define CIAO_REGISTER_VALUE_FACTORY(ORB,FACTORY,VALUETYPE) {\
- CORBA::ValueFactory factory = new FACTORY; \
- CORBA::ValueFactory prev_factory = \
- ORB->register_value_factory \
- (VALUETYPE::_tao_obv_static_repository_id (), \
- factory); \
- if (prev_factory) prev_factory->_remove_ref (); \
- factory->_remove_ref (); }
-
-#include /**/ "ace/post.h"
-
-#endif /* CIAO_CLIENT_INIT_H */