1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_print_StreamPrintService__
|
5 |
|
|
#define __javax_print_StreamPrintService__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace javax
|
15 |
|
|
{
|
16 |
|
|
namespace print
|
17 |
|
|
{
|
18 |
|
|
class DocFlavor;
|
19 |
|
|
class DocPrintJob;
|
20 |
|
|
class ServiceUIFactory;
|
21 |
|
|
class StreamPrintService;
|
22 |
|
|
namespace attribute
|
23 |
|
|
{
|
24 |
|
|
class Attribute;
|
25 |
|
|
class AttributeSet;
|
26 |
|
|
class PrintServiceAttribute;
|
27 |
|
|
class PrintServiceAttributeSet;
|
28 |
|
|
}
|
29 |
|
|
namespace event
|
30 |
|
|
{
|
31 |
|
|
class PrintServiceAttributeListener;
|
32 |
|
|
}
|
33 |
|
|
}
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
|
37 |
|
|
class javax::print::StreamPrintService : public ::java::lang::Object
|
38 |
|
|
{
|
39 |
|
|
|
40 |
|
|
public: // actually protected
|
41 |
|
|
StreamPrintService(::java::io::OutputStream *);
|
42 |
|
|
public:
|
43 |
|
|
virtual void dispose();
|
44 |
|
|
virtual ::java::lang::String * getOutputFormat() = 0;
|
45 |
|
|
virtual ::java::io::OutputStream * getOutputStream();
|
46 |
|
|
virtual jboolean isDisposed();
|
47 |
|
|
virtual ::javax::print::DocPrintJob * createPrintJob() = 0;
|
48 |
|
|
virtual ::javax::print::attribute::PrintServiceAttribute * getAttribute(::java::lang::Class *) = 0;
|
49 |
|
|
virtual ::javax::print::attribute::PrintServiceAttributeSet * getAttributes() = 0;
|
50 |
|
|
virtual ::java::lang::Object * getDefaultAttributeValue(::java::lang::Class *) = 0;
|
51 |
|
|
virtual ::java::lang::String * getName() = 0;
|
52 |
|
|
virtual ::javax::print::ServiceUIFactory * getServiceUIFactory() = 0;
|
53 |
|
|
virtual JArray< ::java::lang::Class * > * getSupportedAttributeCategories() = 0;
|
54 |
|
|
virtual ::java::lang::Object * getSupportedAttributeValues(::java::lang::Class *, ::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *) = 0;
|
55 |
|
|
virtual JArray< ::javax::print::DocFlavor * > * getSupportedDocFlavors() = 0;
|
56 |
|
|
virtual ::javax::print::attribute::AttributeSet * getUnsupportedAttributes(::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *) = 0;
|
57 |
|
|
virtual jboolean isAttributeCategorySupported(::java::lang::Class *) = 0;
|
58 |
|
|
virtual jboolean isAttributeValueSupported(::javax::print::attribute::Attribute *, ::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *) = 0;
|
59 |
|
|
virtual jboolean isDocFlavorSupported(::javax::print::DocFlavor *) = 0;
|
60 |
|
|
virtual void addPrintServiceAttributeListener(::javax::print::event::PrintServiceAttributeListener *) = 0;
|
61 |
|
|
virtual void removePrintServiceAttributeListener(::javax::print::event::PrintServiceAttributeListener *) = 0;
|
62 |
|
|
private:
|
63 |
|
|
jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) disposed;
|
64 |
|
|
::java::io::OutputStream * out;
|
65 |
|
|
public:
|
66 |
|
|
static ::java::lang::Class class$;
|
67 |
|
|
};
|
68 |
|
|
|
69 |
|
|
#endif // __javax_print_StreamPrintService__
|