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 /docs/tutorials | |
parent | 002b85ddb146c751cfbb7e5e0657c5368f4f3044 (diff) | |
download | ATCD-a79ac742c2ef3ab9e280117e73f2e44dcf7c5428.tar.gz |
ChangeLogTag: Thu Nov 28 07:54:28 2002 Craig Rodrigues <crodrigu@bbn.com>
Diffstat (limited to 'docs/tutorials')
-rw-r--r-- | docs/tutorials/022/Acceptor_Service.h | 10 |
1 files changed, 9 insertions, 1 deletions
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> { |