1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Disable all code related to libXp

deprecated and mostly no longer included on current OSes
This commit is contained in:
Peter Howkins 2016-04-20 20:17:22 +01:00
parent b251a15844
commit 2ea057d511
54 changed files with 302 additions and 127 deletions

View file

@ -82,7 +82,9 @@
#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"
@ -310,7 +312,7 @@ DmxPrintJob::execute (void)
void
DmxPrintJob::createPrintShell (void)
{
#if defined(PRINTING_SUPPORTED)
#if 0 && defined(PRINTING_SUPPORTED)
DtMailEnv dmxenv;
DtMail::Session *d_session = theRoamApp.session()->session();
@ -459,7 +461,7 @@ ok_cb(DtMailGenDialog *genDialog)
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;
@ -670,7 +672,7 @@ DmxPrintJob::printOnePageCB(
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;
@ -978,6 +980,7 @@ DmxPrintJob::getPageHeaderString(
* Name: DmxPrintJob::finishedPrintToFile
* Description:
*/
#if 0 && defined(PRINTING_SUPPORTED)
void
DmxPrintJob::finishedPrintToFile(
Display *display,
@ -1023,6 +1026,7 @@ DmxPrintJob::finishedPrintToFile(
}
thisJob->cancel();
}
#endif /* PRINTING_SUPPORTED */
/*
* Name: DmxPrintJob::cancelCB
@ -1069,7 +1073,7 @@ DmxPrintJob::pdmNotificationCB(
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;
@ -1118,7 +1122,7 @@ DmxPrintJob::pdmSetupCB(
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;

View file

@ -127,11 +127,13 @@ class DmxPrintJob : public UIComponent
void createPrintShell (void);
void createOutputWidgets (void);
void doPrint (void);
#if 0 && defined(PRINTING_SUPPORTED)
static void finishedPrintToFile(
Display*,
XPContext,
XPGetDocStatus,
XPointer);
#endif /* PRINTING_SUPPORTED */
char * getPageHeaderString( DmxMsg*, DmxStringTypeEnum);
Boolean loadOutputWidgets (void);
void updatePageHeaders(

View file

@ -77,7 +77,9 @@
#include <Xm/DialogS.h>
#include <Xm/Form.h>
#include <Xm/Label.h>
#if 0 && defined(PRINTING_SUPPORTED)
#include <Xm/Print.h>
#endif /* PRINTING_SUPPORTED */
#include <Xm/Text.h>
#include <Dt/Editor.h>