From 5b9fd5c621abf4f8912d20dbc0f2703801f4c86b Mon Sep 17 00:00:00 2001 From: dynaflash Date: Tue, 8 Jan 2008 18:05:30 +0000 Subject: MacGui: modify writeToActivityLog to use vargs - thanks travistex - can now accept input like: [self writeToActivityLog: "trying to open a package at: %s", [path UTF8String]]; git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1176 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/Controller.h') diff --git a/macosx/Controller.h b/macosx/Controller.h index fc0cdfc42..565f63b07 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -204,7 +204,7 @@ BOOL SuccessfulScan; NSString * currentSource; } -- (void) writeToActivityLog:(char *) activityMessage; +- (void) writeToActivityLog:(char *) format, ...; - (IBAction) browseSources: (id) sender; - (void) browseSourcesDone: (NSOpenPanel *) sheet returnCode: (int) returnCode contextInfo: (void *) contextInfo; -- cgit v1.2.3