|
Revision 402, 0.5 KB
(checked in by pmoura, 6 years ago)
|
|
Corrected mode declarations for the event handler predicates.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | |
|---|
| 2 | :- protocol(event_handlersp). |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | :- info([ |
|---|
| 6 | version is 1.1, |
|---|
| 7 | author is 'Paulo Moura', |
|---|
| 8 | date is 2003/2/12, |
|---|
| 9 | comment is 'Event handlers protocol.']). |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | :- public(before/3). |
|---|
| 13 | |
|---|
| 14 | :- mode(before(@object, @nonvar, @object), zero_or_one). |
|---|
| 15 | |
|---|
| 16 | :- info(before/3, [ |
|---|
| 17 | comment is 'Before event handler.', |
|---|
| 18 | argnames is ['Object', 'Message', 'Sender']]). |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | :- public(after/3). |
|---|
| 22 | |
|---|
| 23 | :- mode(after(@object, @nonvar, @object), zero_or_one). |
|---|
| 24 | |
|---|
| 25 | :- info(after/3, [ |
|---|
| 26 | comment is 'After event handler.', |
|---|
| 27 | argnames is ['Object', 'Message', 'Sender']]). |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | :- end_protocol. |
|---|