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