peterw;334027 Wrote: 
> But what if there are two plugins that want to stop shutdown? Having
> both set the value to 1 is easy, but neither would know if it was truly
> safe to cange it back to 0 when they were done.

Actually, if the 'blocking' plugins were well behaved, they could just
increment and decrement the blockaction pref.

I point this out only because I'm likely to need some help doing it
your way.  For instance, noob perl programmer that I am, I don't know
how to define a public variable:

public $apiVerions = 20080829;

..isn't valid perl.

I'm happy to do this your way, but, it looks like I'll need some help.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to