void
DmxPrintJob::createPrintShell (void)
{
+#if defined(PRINTING_SUPPORTED)
DtMailEnv dmxenv;
DtMail::Session *d_session = theRoamApp.session()->session();
&DmxPrintJob::pdmNotificationCB,
(XtPointer) this);
#endif
+
+#endif /* PRINTING_SUPPORTED */
}
void
DmxPrintJob::doPrint (void)
{
+#if defined(PRINTING_SUPPORTED)
DtMailEnv dmxenv;
DtMail::Session *d_session = theRoamApp.session()->session();
XPSaveData dest = XPSpool;
}
}
#endif
+#endif /* PRINTING_SUPPORTED */
}
XtPointer client_data,
XtPointer call_data)
{
+#if defined(PRINTING_SUPPORTED)
DmxPrintJob *thisJob = (DmxPrintJob *) client_data;
XmPrintShellCallbackStruct *pscbs = (XmPrintShellCallbackStruct*)call_data;
if (thisJob->_spool_npages_done >= thisJob->_spool_npages_total)
pscbs->last_page = TRUE;
#endif
+#endif /* PRINTING_SUPPORTED */
}
XtPointer client_data,
XtPointer call_data)
{
+#if defined(PRINTING_SUPPORTED)
DmxPrintJob *thisJob = (DmxPrintJob *) client_data;
XmPrintShellCallbackStruct *pscbs = (XmPrintShellCallbackStruct*)call_data;
char *message = NULL;
NULL);
delete genDialog;
}
+#endif /* PRINTING_SUPPORTED */
}
/*
XtPointer client_data,
XtPointer call_data)
{
+#if defined(PRINTING_SUPPORTED)
DmxPrintJob *thisJob = (DmxPrintJob *) client_data;
DtPrintSetupCallbackStruct *pbs = (DtPrintSetupCallbackStruct *) call_data;
if (shell)
XmPrintPopupPDM(thisJob->_pshell, shell);
else
- fprintf(stderr, "Internal Error %s: Missing XmPrintShell\n");
+ fprintf(stderr, "Internal Error: Missing XmPrintShell\n");
}
+#endif /* PRINTING_SUPPORTED */
}
/*