summaryrefslogtreecommitdiff
path: root/libjava/javax/print/StreamPrintService.h
blob: 115d6efab548b19434e29a901e84df7bbd2b8d6d (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_print_StreamPrintService__
#define __javax_print_StreamPrintService__

#pragma interface

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

extern "Java"
{
  namespace javax
  {
    namespace print
    {
        class DocFlavor;
        class DocPrintJob;
        class ServiceUIFactory;
        class StreamPrintService;
      namespace attribute
      {
          class Attribute;
          class AttributeSet;
          class PrintServiceAttribute;
          class PrintServiceAttributeSet;
      }
      namespace event
      {
          class PrintServiceAttributeListener;
      }
    }
  }
}

class javax::print::StreamPrintService : public ::java::lang::Object
{

public: // actually protected
  StreamPrintService(::java::io::OutputStream *);
public:
  virtual void dispose();
  virtual ::java::lang::String * getOutputFormat() = 0;
  virtual ::java::io::OutputStream * getOutputStream();
  virtual jboolean isDisposed();
  virtual ::javax::print::DocPrintJob * createPrintJob() = 0;
  virtual ::javax::print::attribute::PrintServiceAttribute * getAttribute(::java::lang::Class *) = 0;
  virtual ::javax::print::attribute::PrintServiceAttributeSet * getAttributes() = 0;
  virtual ::java::lang::Object * getDefaultAttributeValue(::java::lang::Class *) = 0;
  virtual ::java::lang::String * getName() = 0;
  virtual ::javax::print::ServiceUIFactory * getServiceUIFactory() = 0;
  virtual JArray< ::java::lang::Class * > * getSupportedAttributeCategories() = 0;
  virtual ::java::lang::Object * getSupportedAttributeValues(::java::lang::Class *, ::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *) = 0;
  virtual JArray< ::javax::print::DocFlavor * > * getSupportedDocFlavors() = 0;
  virtual ::javax::print::attribute::AttributeSet * getUnsupportedAttributes(::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *) = 0;
  virtual jboolean isAttributeCategorySupported(::java::lang::Class *) = 0;
  virtual jboolean isAttributeValueSupported(::javax::print::attribute::Attribute *, ::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *) = 0;
  virtual jboolean isDocFlavorSupported(::javax::print::DocFlavor *) = 0;
  virtual void addPrintServiceAttributeListener(::javax::print::event::PrintServiceAttributeListener *) = 0;
  virtual void removePrintServiceAttributeListener(::javax::print::event::PrintServiceAttributeListener *) = 0;
private:
  jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) disposed;
  ::java::io::OutputStream * out;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_print_StreamPrintService__