diff options
author | bala <balanatarajan@users.noreply.github.com> | 2002-11-28 13:56:12 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2002-11-28 13:56:12 +0000 |
commit | a79ac742c2ef3ab9e280117e73f2e44dcf7c5428 (patch) | |
tree | 18b744ade897a190f44c0e8dc64ed51719707c37 | |
parent | 002b85ddb146c751cfbb7e5e0657c5368f4f3044 (diff) | |
download | ATCD-a79ac742c2ef3ab9e280117e73f2e44dcf7c5428.tar.gz |
ChangeLogTag: Thu Nov 28 07:54:28 2002 Craig Rodrigues <crodrigu@bbn.com>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 7 | ||||
-rw-r--r-- | docs/tutorials/022/Acceptor_Service.h | 10 |
3 files changed, 23 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index e2d7bc4868c..cfef9550ff8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Nov 28 07:54:28 2002 Craig Rodrigues <crodrigu@bbn.com> + + * docs/tutorials/022/Acceptor_Service.h: Add include of svc_export.h + to fix compilation errors. Thanks to Viktor Ransmayr + <viktor.ransmayr@t-online.de> for reporting the problem. Not + sure whether this example would still compile fine. + Thu Nov 28 09:04:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl> * ace/FILE.h: diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index e2d7bc4868c..cfef9550ff8 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,10 @@ +Thu Nov 28 07:54:28 2002 Craig Rodrigues <crodrigu@bbn.com> + + * docs/tutorials/022/Acceptor_Service.h: Add include of svc_export.h + to fix compilation errors. Thanks to Viktor Ransmayr + <viktor.ransmayr@t-online.de> for reporting the problem. Not + sure whether this example would still compile fine. + Thu Nov 28 09:04:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl> * ace/FILE.h: diff --git a/docs/tutorials/022/Acceptor_Service.h b/docs/tutorials/022/Acceptor_Service.h index d21bd70a42d..a5512970746 100644 --- a/docs/tutorials/022/Acceptor_Service.h +++ b/docs/tutorials/022/Acceptor_Service.h @@ -16,6 +16,10 @@ allow the clients to connect to us. */ #include "ace/SOCK_Acceptor.h" +/* Pull in definition for ACE_Svc_Export. On Win32 platforms + this macro is used to export symbols from libraries. */ +#include "ace/svc_export.h" + /* The Client_Handler object we develop will be used to handle clients once they're connected. The ACE_Acceptor<> template's first parameter requires such an object. In some cases, you can get by @@ -37,7 +41,11 @@ ACE_Service_Object here. That is because, ACE_Acceptor derives from ACE_Service_Object and hence there is no need to specify it again. */ - /* TO Do: Describe what/why ACE_Svc_Export */ +/* ACE_Svc_Export is a macro which on Win32 platforms exports from the + generated library the symbols for the following class. This allows + you to link to the library, and get the symbol definitions for the class. +*/ + class ACE_Svc_Export Acceptor_Service : public ACE_Acceptor <Client_Handler, ACE_SOCK_ACCEPTOR> { |