diff options
Diffstat (limited to 'ace/Service_Object.h')
-rw-r--r-- | ace/Service_Object.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ace/Service_Object.h b/ace/Service_Object.h index c5155c0c5c0..7598e6f8bc5 100644 --- a/ace/Service_Object.h +++ b/ace/Service_Object.h @@ -22,6 +22,7 @@ #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "ace/Event_Handler.h" +#include "ace/DLL.h" #define ACE_Component ACE_Service_Object /** @@ -54,6 +55,7 @@ public: // Forward decl. class ACE_Service_Type_Impl; +class ACE_DLL; /** * @class ACE_Service_Type @@ -86,7 +88,7 @@ public: // = Initialization and termination methods. ACE_Service_Type (const ACE_TCHAR *n, ACE_Service_Type_Impl *o, - const ACE_SHLIB_HANDLE handle, + const ACE_DLL &dll, int active); ~ACE_Service_Type (void); @@ -97,9 +99,6 @@ public: void type (const ACE_Service_Type_Impl *, int active = 1); - ACE_SHLIB_HANDLE handle (void) const; - void handle (const ACE_SHLIB_HANDLE); - void suspend (void) const; void resume (void) const; int active (void) const; @@ -124,8 +123,8 @@ private: /// Pointer to C++ object that implements the svc. const ACE_Service_Type_Impl *type_; - /// Handle to shared object file (non-zero if dynamically linked). - ACE_SHLIB_HANDLE handle_; + /// ACE_DLL representing the shared object file (non-zero if dynamically linked). + ACE_DLL dll_; /// 1 if svc is currently active, otherwise 0. int active_; |