gfx/src/os2/nsDeviceContextSpecOS2.h - Revision 1.7

There were 6 changes made.
Legend
   Added lines
   Changed lines
   Removed lines

gfx/src/os2/nsDeviceContextSpecOS2.h,1.7
.
Disk File
Skipping to line 45. 
#define INCL_DOSERRORS
.
#define INCL_DOSERRORS
#define INCL_SPLDOSPRINT
.
#define INCL_SPLDOSPRINT
 
.
 
#include "nsIDeviceContextSpec.h"
.
#include "nsIDeviceContextSpec.h"
#include "nsIPrintOptions.h"
.
#include "nsIPrintOptions.h"
 
.
#include "nsIPrintSettings.h"
#include "nsVoidArray.h"
.
#include "nsVoidArray.h"
#ifdef USE_XPRINT
.
#ifdef USE_XPRINT
#include "nsIDeviceContextSpecXPrint.h"
.
#include "nsIDeviceContextSpecXPrint.h"
#endif /* USE_XPRINT */
.
#endif /* USE_XPRINT */
#include "nsPrintdOS2.h"
.
#include "nsPrintdOS2.h"
Skipping to line 130. 
 *        the aOldSpec, this will typically result in getting a device
.
 *        the aOldSpec, this will typically result in getting a device
 *        context spec for the default output device (i.e. default
.
 *        context spec for the default output device (i.e. default
 *        printer).
.
 *        printer).
 * @return error status
.
 * @return error status
 */
.
 */
  NS_IMETHOD Init(PRBool	aQuiet);
.
  NS_IMETHOD Init(nsIPrintSettings* aPS, PRBool	aQuiet);
  
.
  
  NS_IMETHOD ClosePrintManager();
.
  NS_IMETHOD ClosePrintManager();
 
.
 
  NS_IMETHOD GetToPrinter( PRBool &aToPrinter ); 
.
  NS_IMETHOD GetToPrinter( PRBool &aToPrinter ); 
 
.
 
  NS_IMETHOD GetPrinter ( char **aPrinter );
.
  NS_IMETHOD GetPrinterName ( char **aPrinter );
Skipping to line 145. 
  NS_IMETHOD GetPath ( char **aPath );    
.
  NS_IMETHOD GetPath ( char **aPath );    
 
.
 
  NS_IMETHOD GetUserCancelled( PRBool &aCancel );      
.
  NS_IMETHOD GetUserCancelled( PRBool &aCancel );      
 
.
 
  NS_IMETHOD GetPRTQUEUE(PRTQUEUE *&p);
.
  NS_IMETHOD GetPRTQUEUE(PRTQUEUE *&p);
 
.
 
  static nsStringArray *globalPrinterList;
.
 
  static int globalNumPrinters;
.
 
  static PRINTDLG PrnDlg;
.
 
  int InitializeGlobalPrinters();
.
 
  void FreeGlobalPrinters();
.
 
 
.
 
protected:
.
 
/**
.
/**
 * Destuct a nsDeviceContextSpecMac, this will release the printrecord
.
 * Destuct a nsDeviceContextSpecMac, this will release the printrecord
 * @update  dc 2/16/98
.
 * @update  dc 2/16/98
 */
.
 */
  virtual ~nsDeviceContextSpecOS2();
.
  virtual ~nsDeviceContextSpecOS2();
Skipping to line 157. 
 
.
  static nsStringArray *globalPrinterList;
 
.
  static int globalNumPrinters;
 
.
  static PRINTDLG PrnDlg;
 
.
  int InitializeGlobalPrinters();
 
.
  void FreeGlobalPrinters();
 
.
 
protected:
.
protected:
 
.
 
  OS2PrData mPrData;
.
  OS2PrData mPrData;
  PRTQUEUE *mQueue;
.
  PRTQUEUE *mQueue;
 
.
  nsCOMPtr<nsIPrintSettings> mPrintSettings;
};
.
};
 
.
 
//-------------------------------------------------------------------------
.
//-------------------------------------------------------------------------
// Printer Enumerator
.
// Printer Enumerator
//-------------------------------------------------------------------------
.
//-------------------------------------------------------------------------