X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=ThreadedTask.h;h=743c7d7ddfaa038618149c61760a711953fbb5b3;hp=25971d48bdcb4bbfd70ee9244a96717159786651;hb=HEAD;hpb=d27548f80fe411fda2ee69c74a24eab4292267e9 diff --git a/ThreadedTask.h b/ThreadedTask.h index 25971d4..743c7d7 100644 --- a/ThreadedTask.h +++ b/ThreadedTask.h @@ -3,7 +3,7 @@ // 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 @@ -16,10 +16,6 @@ // 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 @@ -31,9 +27,6 @@ // 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 @@ -63,8 +56,8 @@ /* 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; // #############################################################################