summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Policy_Strategy.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/Policy_Strategy.h')
-rw-r--r--TAO/tao/PortableServer/Policy_Strategy.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/TAO/tao/PortableServer/Policy_Strategy.h b/TAO/tao/PortableServer/Policy_Strategy.h
new file mode 100644
index 00000000000..d0854a95849
--- /dev/null
+++ b/TAO/tao/PortableServer/Policy_Strategy.h
@@ -0,0 +1,50 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file Policy_Strategy.h
+ *
+ * $Id$
+ *
+ * @author Johnny Willemsen <jwillemsen@remedy.nl>
+ */
+//=============================================================================
+
+#ifndef TAO_POLICY_STRATEGY_H
+#define TAO_POLICY_STRATEGY_H
+#include /**/ "ace/pre.h"
+
+#include "tao/Environment.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "ace/Service_Object.h"
+#include "ace/CORBA_macros.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+class TAO_Root_POA;
+
+namespace TAO
+{
+ namespace Portable_Server
+ {
+ class Policy_Strategy
+ : public ACE_Service_Object
+ {
+ public:
+ virtual void strategy_init(TAO_Root_POA *poa ACE_ENV_ARG_DECL) = 0;
+
+ virtual void strategy_cleanup(ACE_ENV_SINGLE_ARG_DECL) = 0;
+
+ virtual ~Policy_Strategy (void) {};
+ };
+ }
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+#endif /* TAO_POLICY_STRATEGY_H */