fixing stupid camino bustage.
git-svn-id: svn://10.0.0.236/trunk@216014 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -39,7 +39,37 @@
|
||||
|
||||
#include "cairo-nquartz.h"
|
||||
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
|
||||
#include <cups/cups.h>
|
||||
#else
|
||||
/* stupid apple doesn't bother to include cups.h in anything lower than
|
||||
* the 10.4 SDK yet they've shipped libcups since 10.2! wtf!
|
||||
* Apple is as bad as Linux! come on!
|
||||
*/
|
||||
extern "C" {
|
||||
typedef struct
|
||||
{
|
||||
char *name;
|
||||
char *value;
|
||||
} cups_option_t;
|
||||
typedef struct
|
||||
{
|
||||
char *name,
|
||||
*instance;
|
||||
int is_default;
|
||||
int num_options;
|
||||
cups_option_t *options;
|
||||
} cups_dest_t;
|
||||
extern int cupsPrintFile(const char *printer, const char *filename,
|
||||
const char *title, int num_options,
|
||||
cups_option_t *options);
|
||||
extern void cupsFreeDests(int num_dests, cups_dest_t *dests);
|
||||
extern cups_dest_t *cupsGetDest(const char *name, const char *instance,
|
||||
int num_dests, cups_dest_t *dests);
|
||||
extern int cupsGetDests(cups_dest_t **dests);
|
||||
}
|
||||
#endif
|
||||
|
||||
gfxQuartzPDFSurface::gfxQuartzPDFSurface(const char *filename, gfxSize aSizeInPoints)
|
||||
: mFilename(strdup(filename)), mAborted(PR_FALSE)
|
||||
|
||||
Reference in New Issue
Block a user