summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/CosNotify_Initializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/CosNotify_Initializer.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/CosNotify_Initializer.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/CosNotify_Initializer.h b/TAO/orbsvcs/orbsvcs/Notify/CosNotify_Initializer.h
new file mode 100644
index 00000000000..a2e73f4898a
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/Notify/CosNotify_Initializer.h
@@ -0,0 +1,38 @@
+/* -*- C++ -*- */
+/**
+ * @file CosNotify_Initializer.h
+ *
+ * $Id$
+ *
+ * @author Pradeep Gore <pradeep@oomworks.com>
+ *
+ *
+ */
+
+#ifndef TAO_NS_COSNOTIFY_INITIALIZER_H
+#define TAO_NS_COSNOTIFY_INITIALIZER_H
+#include "ace/pre.h"
+
+#include "notify_export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+/**
+ * @class TAO_NS_CosNotify_Initializer
+ *
+ * @brief Helper to load the Cos Notification service into the service conf. for static links.
+ *
+ */
+class TAO_Notify_Export TAO_NS_CosNotify_Initializer
+{
+public:
+ /// Constuctor
+ TAO_NS_CosNotify_Initializer (void);
+};
+
+static TAO_NS_CosNotify_Initializer TAO_NS_CosNotify_initializer;
+
+#include "ace/post.h"
+#endif /* TAO_NS_COSNOTIFY_INITIALIZER_H */