summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-08-20 22:10:21 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-08-20 22:10:21 +0000
commit2ce125bb1d6d30b1519a45b1c5c7b4348ad02bba (patch)
treefd9c827dd7d917f69d4959834f28c728f3c31beb /examples/Service_Configurator
parent3cafe00ecb5f074740b5f59cfb4f11c212342c55 (diff)
downloadATCD-2ce125bb1d6d30b1519a45b1c5c7b4348ad02bba.tar.gz
*** empty log message ***
Diffstat (limited to 'examples/Service_Configurator')
-rw-r--r--examples/Service_Configurator/Misc/Timer_Service.cpp5
-rw-r--r--examples/Service_Configurator/Misc/Timer_Service.h1
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/Service_Configurator/Misc/Timer_Service.cpp b/examples/Service_Configurator/Misc/Timer_Service.cpp
index dcbe9cdc5ac..0e5ea589b69 100644
--- a/examples/Service_Configurator/Misc/Timer_Service.cpp
+++ b/examples/Service_Configurator/Misc/Timer_Service.cpp
@@ -99,7 +99,8 @@ ACE_STATIC_SVC_DEFINE (Timer_Service_1,
ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
0)
-// The following is a "Factory" used by the <ACE_Service_Config> and
+// The following are "Factories" used by the <ACE_Service_Config> and
// svc.conf file to dynamically initialize the state of the Timer
-// Service.
+// Services.
+ACE_SVC_FACTORY_DEFINE (Timer_Service_1)
ACE_SVC_FACTORY_DEFINE (Timer_Service_2)
diff --git a/examples/Service_Configurator/Misc/Timer_Service.h b/examples/Service_Configurator/Misc/Timer_Service.h
index 374caa59ec0..642bc3db019 100644
--- a/examples/Service_Configurator/Misc/Timer_Service.h
+++ b/examples/Service_Configurator/Misc/Timer_Service.h
@@ -39,5 +39,6 @@ class Timer_Service_2 : public Timer_Service_1
// Declare both static and dynamic services.
ACE_STATIC_SVC_DECLARE (Timer_Service_1)
+ACE_SVC_FACTORY_DECLARE (Timer_Service_1)
ACE_SVC_FACTORY_DECLARE (Timer_Service_2)