diff options
author | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-19 02:55:55 +0000 |
---|---|---|
committer | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-19 02:55:55 +0000 |
commit | dc4bc65a9bd7e171645562990f37bd5e0d6949d2 (patch) | |
tree | c721f45bd043739e2527489a0eee4ce179f7a9bb /ace/DLL.h | |
parent | 0f0d178f1bcb87b4d65b432273d4a6d82b903d24 (diff) | |
download | ATCD-dc4bc65a9bd7e171645562990f37bd5e0d6949d2.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/DLL.h')
-rw-r--r-- | ace/DLL.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ace/DLL.h b/ace/DLL.h index 8c59dd6dc9a..149b1b1f052 100644 --- a/ace/DLL.h +++ b/ace/DLL.h @@ -1,6 +1,5 @@ /* -*- C++ -*- */ // $Id$ - // ============================================================================ // // = LIBRARY @@ -37,8 +36,10 @@ class ACE_Export ACE_DLL public: // = Initialization and termination methods. - ACE_DLL (void); + ACE_DLL ( int close_on_detruction = 0); // Initialization. + // The close_on_destruction flag is a feature which closes the + // library automagically before the class object is destroyed. ~ACE_DLL (void); // Called when object is destroyed. @@ -55,7 +56,7 @@ public: // object is first loaded. // RTLD_GLOBAL The object symbols are made available for the // relocation processing of any other object. - + void *symbol (ACE_DL_TYPE sym_name); // The symbol reference is returned corresponding to the symbol // name. @@ -69,6 +70,10 @@ public: private: ACE_SHLIB_HANDLE handle_; // This is the reference to the library. + + int close_mode_; + // This is the flag representing the special close_on_destruction feature. + }; #endif /* ACE_DLL_H */ |