6b4bde14e1
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1903 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
23 lines
544 B
Plaintext
23 lines
544 B
Plaintext
|
|
:- protocol(event_handlersp).
|
|
|
|
:- info([
|
|
version is 1.1,
|
|
author is 'Paulo Moura',
|
|
date is 2003/2/12,
|
|
comment is 'Event handlers protocol.']).
|
|
|
|
:- public(before/3).
|
|
:- mode(before(@object, @nonvar, @object), zero_or_one).
|
|
:- info(before/3, [
|
|
comment is 'Before event handler.',
|
|
argnames is ['Object', 'Message', 'Sender']]).
|
|
|
|
:- public(after/3).
|
|
:- mode(after(@object, @nonvar, @object), zero_or_one).
|
|
:- info(after/3, [
|
|
comment is 'After event handler.',
|
|
argnames is ['Object', 'Message', 'Sender']]).
|
|
|
|
:- end_protocol.
|