mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:40:37 +00:00
2005-01-12 00:41 Alexander Malmberg <alexander@malmberg.org>
* Printing/GSCUPS/GSCUPSPrinter.h (GSCUPSDummyPrinterName): New variable. * Printing/GSCUPS/GSCUPSPrinter.m (GSCUPSDummyPrinterName): New variable. (+printerWithName:): Warn and return a dummy printer when requested. * Printing/GSCUPS/GSCUPSPrintInfo.m (defaultPrinter): If there's no default CUPS printer set, return a dummy printer. Fixes bug #10916. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20542 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
442120d4bb
commit
05b4dcfa18
4 changed files with 55 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
GSCUPSPrinter.h
|
||||
|
||||
Class representing a printer's or printer model's capabilities.
|
||||
|
@ -32,6 +32,9 @@
|
|||
#include <AppKit/NSPrinter.h>
|
||||
|
||||
|
||||
@class NSString;
|
||||
|
||||
extern NSString *GSCUPSDummyPrinterName;
|
||||
|
||||
@interface GSCUPSPrinter : NSPrinter <NSCoding>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue