summaryrefslogtreecommitdiff
path: root/ace/Service_Config.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-09-22 08:09:40 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-09-22 08:09:40 +0000
commit560d0fc5353d89f1981455fadfe9c93496bdf167 (patch)
tree685c22a796942b93c68219f00b37b02d2854b4cc /ace/Service_Config.h
parentf434531ac537c76fe757c5659b834deb90c0ef74 (diff)
downloadATCD-560d0fc5353d89f1981455fadfe9c93496bdf167.tar.gz
ChangeLogTag: Thu Sep 22 08:07:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Service_Config.h')
-rw-r--r--ace/Service_Config.h32
1 files changed, 26 insertions, 6 deletions
diff --git a/ace/Service_Config.h b/ace/Service_Config.h
index 9659482692d..303446ba3cf 100644
--- a/ace/Service_Config.h
+++ b/ace/Service_Config.h
@@ -40,15 +40,35 @@ class ACE_DLL;
#if (ACE_USES_CLASSIC_SVC_CONF == 1)
#define ACE_DYNAMIC_SERVICE_DIRECTIVE(ident, libpathname, objectclass, parameters) \
- "dynamic " ident " Service_Object * " libpathname ":" objectclass "() \"" parameters "\""
-#define ACE_REMOVE_SERVICE_DIRECTIVE(ident) "remove " ident
+ ACE_LIB_TEXT ("dynamic ") \
+ ACE_LIB_TEXT (ident) \
+ ACE_LIB_TEXT (" Service_Object * ") \
+ ACE_LIB_TEXT (libpathname) \
+ ACE_LIB_TEXT (":") \
+ ACE_LIB_TEXT (objectclass) \
+ ACE_LIB_TEXT ("() \"") \
+ ACE_LIB_TEXT (parameters "\"")
+#define ACE_REMOVE_SERVICE_DIRECTIVE(ident) \
+ ACE_LIB_TEXT ("remove ") \
+ ACE_LIB_TEXT (ident)
class ACE_Svc_Conf_Param;
#else
#define ACE_DYNAMIC_SERVICE_DIRECTIVE(ident, libpathname, objectclass, parameters) \
- "<ACE_Svc_Conf><dynamic id=\"" ident "\" type=\"Service_Object\">" \
- "<initializer path=\"" libpathname "\" init=\"" objectclass "\"" \
- " params=\"" parameters "\"/></dynamic></ACE_Svc_Conf>"
-#define ACE_REMOVE_SERVICE_DIRECTIVE(ident) "<ACE_Svc_Conf><remove id=\"" ident "\"></remove></ACE_Svc_Conf>"
+ ACE_LIB_TEXT ("<ACE_Svc_Conf><dynamic id=\"") \
+ ACE_LIB_TEXT (ident) \
+ ACE_LIB_TEXT ("\" type=\"Service_Object\">") \
+ ACE_LIB_TEXT ("<initializer path=\"") \
+ ACE_LIB_TEXT (libpathname) \
+ ACE_LIB_TEXT ("\" init=\"") \
+ ACE_LIB_TEXT (objectclass) \
+ ACE_LIB_TEXT ("\"") \
+ ACE_LIB_TEXT (" params=\"") \
+ ACE_LIB_TEXT (parameters)
+ ACE_LIB_TEXT ("\"/></dynamic></ACE_Svc_Conf>")
+#define ACE_REMOVE_SERVICE_DIRECTIVE(ident) \
+ ACE_LIB_TEXT ("<ACE_Svc_Conf><remove id=\"") \
+ ACE_LIB_TEXT (ident) \
+ ACE_LIB_TEXT ("\"></remove></ACE_Svc_Conf>")
class ACE_XML_Svc_Conf;
#endif /* ACE_USES_CLASSIC_SVC_CONF == 1 */