This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/library/event_handlersp.lgt
2001-06-06 19:40:57 +00:00

31 lines
553 B
Plaintext

:- protocol(event_handlersp).
:- info([
version is 1.0,
authors is 'Paulo Moura',
date is 2000/7/24,
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.