Mercurial > octave-nkf
comparison src/sighandlers.h @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | ab231f944252 |
children | 7dd7cccf0757 |
comparison
equal
deleted
inserted
replaced
11585:1473d0cf86d2 | 11586:12df7854fa7c |
---|---|
88 class | 88 class |
89 OCTINTERP_API | 89 OCTINTERP_API |
90 octave_child | 90 octave_child |
91 { | 91 { |
92 public: | 92 public: |
93 | 93 |
94 // Do whatever to handle event for child with PID (might not | 94 // Do whatever to handle event for child with PID (might not |
95 // actually be dead, could just be stopped). Return true if | 95 // actually be dead, could just be stopped). Return true if |
96 // the list element corresponding to PID should be removed from | 96 // the list element corresponding to PID should be removed from |
97 // list. This function should not call any functions that modify | 97 // list. This function should not call any functions that modify |
98 // the octave_child_list. | 98 // the octave_child_list. |
103 : pid (id), handler (f), have_status (0), status (0) { } | 103 : pid (id), handler (f), have_status (0), status (0) { } |
104 | 104 |
105 octave_child (const octave_child& oc) | 105 octave_child (const octave_child& oc) |
106 : pid (oc.pid), handler (oc.handler), | 106 : pid (oc.pid), handler (oc.handler), |
107 have_status (oc.have_status), status (oc.status) { } | 107 have_status (oc.have_status), status (oc.status) { } |
108 | 108 |
109 octave_child& operator = (const octave_child& oc) | 109 octave_child& operator = (const octave_child& oc) |
110 { | 110 { |
111 if (&oc != this) | 111 if (&oc != this) |
112 { | 112 { |
113 pid = oc.pid; | 113 pid = oc.pid; |