diff options
author | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-05-08 16:26:58 +0000 |
---|---|---|
committer | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-05-08 16:26:58 +0000 |
commit | 1e3b024890f0adb4adfbd8470f50b9d96ece69c5 (patch) | |
tree | 4ca82d04cfd7a010766ca1649928b35e50e80305 /ace/Process.i | |
parent | a561c858ca4c377a7f33d3b4eb44f3c49c7d1e1e (diff) | |
download | ATCD-1e3b024890f0adb4adfbd8470f50b9d96ece69c5.tar.gz |
Compiles (not runs) on Solaris.
Diffstat (limited to 'ace/Process.i')
-rw-r--r-- | ace/Process.i | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/ace/Process.i b/ace/Process.i index bcd1f488d6f..6d0859c304f 100644 --- a/ace/Process.i +++ b/ace/Process.i @@ -48,14 +48,14 @@ ACE_Process::kill (int signum) #if defined (ACE_WIN32) -ACE_INLINE BOOL +ACE_INLINE int ACE_Process_Options::new_console (void) const { return new_console_; } ACE_INLINE void -ACE_Process_Options::new_console (BOOL nc) +ACE_Process_Options::new_console (int nc) { new_console_ = nc; } @@ -92,22 +92,35 @@ ACE_Process_Options::set_thread_attributes (void) return thread_attributes_; } + +ACE_INLINE int +ACE_Process_Options::handle_inheritence (void) +{ + return handle_inheritence_; +} + +ACE_INLINE void +ACE_Process_Options::handle_inheritence (int hi) +{ + handle_inheritence_ = hi; +} + #else /* !defined (ACE_WIN32) */ ACE_INLINE ACE_HANDLE -ACE_Process_Options::std_in (void) +ACE_Process_Options::get_stdin (void) { return stdin_; } ACE_INLINE ACE_HANDLE -ACE_Process_Options::std_out (void) +ACE_Process_Options::get_stdout (void) { return stdout_; } ACE_INLINE ACE_HANDLE -ACE_Process_Options::std_err (void) +ACE_Process_Options::get_stderr (void) { return stderr_; } @@ -146,17 +159,3 @@ ACE_Process_Options::path (LPCTSTR p) { ACE_OS::strcpy (path_, p); } - -#if defined (ACE_WIN32) -ACE_INLINE BOOL -ACE_Process_Options::handle_inheritence (void) -{ - return handle_inheritence_; -} - -ACE_INLINE void -ACE_Process_Options::handle_inheritence (BOOL hi) -{ - handle_inheritence_ = hi; -} -#endif /* ACE_WIN32 */ |