|
From: | Chad Hardin |
Subject: | Re: GSCUPS and GNUstep Printing |
Date: | Fri, 11 Jun 2004 14:01:55 -1000 |
On Jun 11, 2004, at 12:46 PM, Adam Fedor wrote:
On Jun 11, 2004, at 4:37 PM, Chad Hardin wrote:Perhaps 'Printing' or something generic that describes what the files do.Probably these should go in a separate subdirectory under Source.Ok, under GSCUPS, I suppose?
Of course. :-)
//find out what we are actually going to allocate, is it a GSLPRPrinter or a GSCUPSPrinter (maybe even a GSWindowsPrinter?)Sure, something like that is fine, although both NSPrinInfo and NSPrintPanel are shared, so you probably only need to change the shared factory method, plus you need to check if you can even use GSCupsPrinter even if the default requests it. Also you should put this in allocWithZone: since alloc just calls that.userDefault = //whatever the default is if( [userDefault isEqualToString: @"GSCUPS"]) { return [GSCUPSPrinter alloc]; } if( [userDefault isEqualToString: @"GSLPR"]) { return [GSCUPSLPR alloc]; }
Roger that. I am making a new VMware Machine right now so I can work with GNUstep CVS to do this stuff. You see, usually I work with the packaging of GNUstep releases....
Chad
_______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep
[Prev in Thread] | Current Thread | [Next in Thread] |