Source file notification.icn |
#
# notification.icn - event notification object, formerly event.icn
#
# This file is in the public domain.
#
# Author: Robert Parlett (parlett@dial.pipex.com)
#
package util
import lang
#
#
# An instance of this class is used to represent an event notification.
#
class Notification : Object(
source,
type,
param
)
#
# Returns the event parameter, if any
#
method get_param()
return self.param
end
method set_param(x)
return self.param := x
end
#
# Returns the event type
#
method get_type()
return self.type
end
method set_type(x)
return self.type := x
end
#
# Returns the source of the event.
#
method get_source()
return self.source
end
method set_source(x)
return self.source := x
end
end
This page produced by UniDoc on 2021/04/15 @ 23:59:43.