From 33c2d047571cd4ebce2eb630515fc33aa3f05b98 Mon Sep 17 00:00:00 2001 From: Roland Mainz Date: Mon, 11 Apr 2005 01:06:15 +0000 Subject: xc/programs/Xserver/Xprint/attributes.c xc/programs/glxgears/glxgears.c xc/programs/xdbedizzy/xdbedizzy.c xc/programs/xedit/Imakefile xc/programs/xedit/Xedit-xprint.ad xc/programs/xedit/util.c xc/programs/xedit/xedit.h xc/programs/xlogo/print.c xc/programs/xlogo/xlogo.c xc/programs/xlogo/xlogo.h xc/programs/xman/Imakefile xc/programs/xman/print.h xc/programs/xmore/Imakefile xc/programs/xmore/print.c xc/programs/xmore/print.h xc/programs/xmore/printdialog.c xc/programs/xphelloworld/xpawhelloworld/xpawhelloworld.c xc/programs/xphelloworld/xphelloworld/xphelloworld.c xc/programs/xphelloworld/xpsimplehelloworld/xpsimplehelloworld.c xc/programs/xphelloworld/xpxmhelloworld/xpxmhelloworld.c //bugs.freedesktop.org/show_bug.cgi?id=790) attachment #2379 (https://bugs.freedesktop.org/attachment.cgi?id=2379) Implement support client+Xserver support for passing output (stdout+stderr) of the spooler command started by the Xprint server back to the application using the "xp-spooler-command-results" XPJobAttr attribute (applications can fetch the attribute value after the XPEndJobNotify event was received; more details can be found in http://xprint.mozdev.org/docs/dtprint_fspec.ps). --- print.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'print.h') diff --git a/print.h b/print.h index d1ecbf6..a87779c 100644 --- a/print.h +++ b/print.h @@ -35,6 +35,14 @@ in this Software without prior written authorization from The Open Group. #include #include +#if defined(XMORE) +#define PrintMsg(x) { printf("xmore: "); printf x ; } +#elif defined(XEDIT) +#define PrintMsg(x) { XeditPrintf x ; } +#else +#error unknown application +#endif + /* Prototypes */ void DoPrintTextSource(const char *programname, Widget textsource, -- cgit v1.2.3