diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-27 14:43:52 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-27 14:43:52 +0000 |
commit | 561b21f84f2b4c4a0eb071e285fdd9d65a2a4bbb (patch) | |
tree | e2b79ec8ba5f3320df4e5d85a68c8faaf239003d /ace/Event_Handler_T.h | |
parent | 7cfd2491809224cee5f3c9bc307cb8bdcc2a97a9 (diff) | |
download | ATCD-561b21f84f2b4c4a0eb071e285fdd9d65a2a4bbb.tar.gz |
removed special-case support for ACE_HAS_SIGNFO_T, because ace/OS.h declares a siginfo_t without it
Diffstat (limited to 'ace/Event_Handler_T.h')
-rw-r--r-- | ace/Event_Handler_T.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/ace/Event_Handler_T.h b/ace/Event_Handler_T.h index f6b29e546f3..6fce5493a88 100644 --- a/ace/Event_Handler_T.h +++ b/ace/Event_Handler_T.h @@ -5,13 +5,13 @@ // // = LIBRARY // ace -// +// // = FILENAME // Event_Handler_T.h // // = AUTHOR -// Doug Schmidt -// +// Doug Schmidt +// // ============================================================================ #if !defined (ACE_EVENT_HANDLER_T_H) @@ -21,8 +21,8 @@ #if defined (ACE_HAS_TEMPLATE_TYPEDEFS) -template <class T> -class ACE_Export ACE_Event_Handler_T : public ACE_Event_Handler +template <class T> +class ACE_Export ACE_Event_Handler_T : public ACE_Event_Handler { // = TITLE // Enable a class that doesn't inherit from the @@ -76,14 +76,10 @@ public: typedef int (T::*CL_HANDLER) (ACE_HANDLE, ACE_Reactor_Mask); // Handle close events. - typedef int (T::*SIG_HANDLER) (ACE_HANDLE -#if defined(ACE_HAS_SIGINFO_T) -, siginfo_t*, ucontext_t* -#endif /* ACE_HAS_SIGINFO_T */ -); + typedef int (T::*SIG_HANDLER) (ACE_HANDLE, siginfo_t*, ucontext_t*); // = Initialization and termination methods. - ACE_Event_Handler_T (T *op_handler, + ACE_Event_Handler_T (T *op_handler, int delete_handler, GET_HANDLE get_handle = 0, IO_HANDLER input = 0, @@ -115,7 +111,7 @@ public: void op_handler (T *); // = Get/set the target pointer-to-method used for dispatching. - + GET_HANDLE handle_get (void); void handle_get (GET_HANDLE); |