* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
#include <X11/Shell.h>
#include <Xm/Xm.h>
#include <Xm/PushB.h>
+#if 0 && defined(PRINTING_SUPPORTED)
#include <Xm/Print.h>
+#endif /* PRINTING_SUPPORTED */
#include "Dmx.h"
#include "DmxPrintJob.h"
#include "DmxPrintOptions.h"
void
DmxPrintJob::createPrintShell (void)
{
-#if defined(PRINTING_SUPPORTED)
+#if 0 && defined(PRINTING_SUPPORTED)
DtMailEnv dmxenv;
DtMail::Session *d_session = theRoamApp.session()->session();
void
DmxPrintJob::doPrint (void)
{
-#if defined(PRINTING_SUPPORTED)
+#if 0 && defined(PRINTING_SUPPORTED)
DtMailEnv dmxenv;
DtMail::Session *d_session = theRoamApp.session()->session();
XPSaveData dest = XPSpool;
_print_output->appendNewLine();
XtFree(buffer);
- if (NULL != separator_string)
- free((void*) separator_string);
+ free((void*) separator_string);
break;
}
XtPointer client_data,
XtPointer call_data)
{
-#if defined(PRINTING_SUPPORTED)
+#if 0 && defined(PRINTING_SUPPORTED)
DmxPrintJob *thisJob = (DmxPrintJob *) client_data;
XmPrintShellCallbackStruct *pscbs = (XmPrintShellCallbackStruct*)call_data;
* Name: DmxPrintJob::finishedPrintToFile
* Description:
*/
+#if 0 && defined(PRINTING_SUPPORTED)
void
DmxPrintJob::finishedPrintToFile(
Display *display,
}
thisJob->cancel();
}
+#endif /* PRINTING_SUPPORTED */
/*
* Name: DmxPrintJob::cancelCB
XtPointer client_data,
XtPointer call_data)
{
-#if defined(PRINTING_SUPPORTED)
+#if 0 && defined(PRINTING_SUPPORTED)
DmxPrintJob *thisJob = (DmxPrintJob *) client_data;
XmPrintShellCallbackStruct *pscbs = (XmPrintShellCallbackStruct*)call_data;
char *message = NULL;
XtPointer client_data,
XtPointer call_data)
{
-#if defined(PRINTING_SUPPORTED)
+#if 0 && defined(PRINTING_SUPPORTED)
DmxPrintJob *thisJob = (DmxPrintJob *) client_data;
DtPrintSetupCallbackStruct *pbs = (DtPrintSetupCallbackStruct *) call_data;