summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/print/JavaPrinterJob.h
blob: 6275b13e49b8704129e5dee08731d84a4d13acaa (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_print_JavaPrinterJob__
#define __gnu_java_awt_print_JavaPrinterJob__

#pragma interface

#include <java/awt/print/PrinterJob.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace print
        {
            class JavaPrinterJob;
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
      namespace print
      {
          class PageFormat;
          class Pageable;
          class Printable;
      }
    }
  }
  namespace javax
  {
    namespace print
    {
        class DocPrintJob;
        class PrintService;
      namespace attribute
      {
          class PrintRequestAttributeSet;
      }
    }
  }
}

class gnu::java::awt::print::JavaPrinterJob : public ::java::awt::print::PrinterJob
{

public:
  JavaPrinterJob();
private:
  void getPageAttributes();
public:
  virtual jint getCopies();
  virtual void setCopies(jint);
  virtual ::java::lang::String * getJobName();
  virtual void setJobName(::java::lang::String *);
  virtual ::java::lang::String * getUserName();
  virtual void cancel();
  virtual jboolean isCancelled();
  virtual ::java::awt::print::PageFormat * defaultPage(::java::awt::print::PageFormat *);
  virtual ::java::awt::print::PageFormat * pageDialog(::java::awt::print::PageFormat *);
  virtual void print();
  virtual void print(::javax::print::attribute::PrintRequestAttributeSet *);
  virtual jboolean printDialog();
  virtual jboolean printDialog(::javax::print::attribute::PrintRequestAttributeSet *);
  virtual void setPageable(::java::awt::print::Pageable *);
  virtual void setPrintable(::java::awt::print::Printable *);
  virtual void setPrintable(::java::awt::print::Printable *, ::java::awt::print::PageFormat *);
  virtual ::java::awt::print::PageFormat * validatePage(::java::awt::print::PageFormat *);
  virtual void setPrintService(::javax::print::PrintService *);
private:
  ::javax::print::PrintService * __attribute__((aligned(__alignof__( ::java::awt::print::PrinterJob)))) printer;
  ::javax::print::attribute::PrintRequestAttributeSet * attributes;
  static JArray< ::javax::print::PrintService * > * services;
  ::javax::print::DocPrintJob * printJob;
  ::java::awt::print::Printable * printable;
  ::java::awt::print::PageFormat * pageFormat;
  ::java::awt::print::Pageable * pageable;
  jboolean cancelled;
  static ::java::lang::Class * copyClass;
  static ::java::lang::Class * jobNameClass;
  static ::java::lang::Class * userNameClass;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_print_JavaPrinterJob__