// ThreadedTask 0.3
// Perform a long task without blocking the main thread.
//
-// Copyright (c) 2004-2005, Chaz McGarvey
+// Copyright (c) 2004-2005, Charles McGarvey
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// list of conditions and the following disclaimer in the documentation and/or other
// materials provided with the distribution.
//
-// 3. Neither the name of the BrokenZipper nor the names of its contributors may be
-// used to endorse or promote products derived from this software without specific
-// prior written permission.
-//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.
//
-// Web: http://www.brokenzipper.com/
-// Email: chaz@brokenzipper.com
-//
#import <Cocoa/Cocoa.h>
/* See accessor methods for a description of the parameters. */
- (id)initWithTarget:(id)target selector:(SEL)selector delegate:(id)delegate;
- (id)initWithTarget:(id)target selector:(SEL)selector context:(id)context delegate:(id)delegate;
-- (id)initWithFunction:(int (*)(id, unsigned))function delegate:(id)delegate;
-- (id)initWithFunction:(int (*)(id, unsigned))function context:(id)context delegate:(id)delegate;
+- (id)initWithFunction:(int (*)(ThreadedTask *, unsigned))function delegate:(id)delegate;
+- (id)initWithFunction:(int (*)(ThreadedTask *, unsigned))function context:(id)context delegate:(id)delegate;
// #############################################################################