summaryrefslogtreecommitdiff
path: root/libjava/java/awt/print/PrinterJob.h
blob: 39bb9a0e9cfbe56993348cd3ab9446d05029800f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_print_PrinterJob__
#define __java_awt_print_PrinterJob__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace print
      {
          class PageFormat;
          class Pageable;
          class Printable;
          class PrinterJob;
      }
    }
  }
  namespace javax
  {
    namespace print
    {
        class PrintService;
        class StreamPrintServiceFactory;
      namespace attribute
      {
          class PrintRequestAttributeSet;
      }
    }
  }
}

class java::awt::print::PrinterJob : public ::java::lang::Object
{

public:
  static ::java::awt::print::PrinterJob * getPrinterJob();
  PrinterJob();
  virtual jint getCopies() = 0;
  virtual void setCopies(jint) = 0;
  virtual ::java::lang::String * getJobName() = 0;
  virtual void setJobName(::java::lang::String *) = 0;
  virtual ::java::lang::String * getUserName() = 0;
  virtual void cancel() = 0;
  virtual jboolean isCancelled() = 0;
  virtual ::java::awt::print::PageFormat * defaultPage();
  virtual ::java::awt::print::PageFormat * defaultPage(::java::awt::print::PageFormat *) = 0;
  virtual ::java::awt::print::PageFormat * pageDialog(::java::awt::print::PageFormat *) = 0;
  virtual ::java::awt::print::PageFormat * pageDialog(::javax::print::attribute::PrintRequestAttributeSet *);
  virtual void print() = 0;
  virtual void print(::javax::print::attribute::PrintRequestAttributeSet *);
  virtual jboolean printDialog() = 0;
  virtual jboolean printDialog(::javax::print::attribute::PrintRequestAttributeSet *);
  virtual void setPageable(::java::awt::print::Pageable *) = 0;
  virtual void setPrintable(::java::awt::print::Printable *) = 0;
  virtual void setPrintable(::java::awt::print::Printable *, ::java::awt::print::PageFormat *) = 0;
  virtual ::java::awt::print::PageFormat * validatePage(::java::awt::print::PageFormat *) = 0;
  static JArray< ::javax::print::PrintService * > * lookupPrintServices();
  static JArray< ::javax::print::StreamPrintServiceFactory * > * lookupStreamPrintServices(::java::lang::String *);
  virtual ::javax::print::PrintService * getPrintService();
  virtual void setPrintService(::javax::print::PrintService *);
private:
  ::javax::print::PrintService * __attribute__((aligned(__alignof__( ::java::lang::Object)))) printer;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_print_PrinterJob__