Mac::Notification - Macintosh Toolbox Interface to Notification Manager


Mac-Carbon documentation Contained in the Mac-Carbon distribution.

Index


Code Index:

NAME

Top

Mac::Notification - Macintosh Toolbox Interface to Notification Manager

DESCRIPTION

Top

Access to Inside Macintosh is essential for proper use of these functions. Explanations of terms, processes and procedures are provided there. Any attempt to use these functions without guidance can cause severe errors in your machine, including corruption of data. You have been warned.

AUTHOR

Top

Written by Matthias Ulrich Neeracher <neeracher@mac.com>. Currently maintained by Chris Nandor <pudge@pobox.com>.


Mac-Carbon documentation Contained in the Mac-Carbon distribution.
use strict;

package Mac::Notification;

BEGIN {
	use Exporter   ();
	use DynaLoader ();
	
	use vars qw($VERSION @ISA @EXPORT);
	$VERSION = '1.03';
	@ISA = qw(Exporter DynaLoader);
	@EXPORT = qw(
		NMInstall
		NMRemove
	);
}

bootstrap Mac::Notification;

package NMRec;

sub new {
	my($package) = shift @_;
	my($nm) = NMRec::_new($package);
	while (scalar(@_)) {
		my($field) = shift @_;
		my($value) = shift @_;
		
		$nm->$field($value);
	}
	$nm;
}

1;

__END__