diff options
Diffstat (limited to 'libjava/javax/print/PrintServiceLookup.h')
-rw-r--r-- | libjava/javax/print/PrintServiceLookup.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/libjava/javax/print/PrintServiceLookup.h b/libjava/javax/print/PrintServiceLookup.h new file mode 100644 index 00000000000..5409da90d94 --- /dev/null +++ b/libjava/javax/print/PrintServiceLookup.h @@ -0,0 +1,62 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_print_PrintServiceLookup__ +#define __javax_print_PrintServiceLookup__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace print + { + class CupsPrintServiceLookup; + } + } + } + namespace javax + { + namespace print + { + class DocFlavor; + class MultiDocPrintService; + class PrintService; + class PrintServiceLookup; + namespace attribute + { + class AttributeSet; + } + } + } +} + +class javax::print::PrintServiceLookup : public ::java::lang::Object +{ + +public: + PrintServiceLookup(); + static jboolean registerServiceProvider(::javax::print::PrintServiceLookup *); + static jboolean registerService(::javax::print::PrintService *); + static JArray< ::javax::print::PrintService * > * lookupPrintServices(::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *); + static JArray< ::javax::print::MultiDocPrintService * > * lookupMultiDocPrintServices(JArray< ::javax::print::DocFlavor * > *, ::javax::print::attribute::AttributeSet *); + static ::javax::print::PrintService * lookupDefaultPrintService(); + virtual ::javax::print::PrintService * getDefaultPrintService() = 0; + virtual JArray< ::javax::print::MultiDocPrintService * > * getMultiDocPrintServices(JArray< ::javax::print::DocFlavor * > *, ::javax::print::attribute::AttributeSet *) = 0; + virtual JArray< ::javax::print::PrintService * > * getPrintServices() = 0; + virtual JArray< ::javax::print::PrintService * > * getPrintServices(::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *) = 0; +private: + static ::gnu::javax::print::CupsPrintServiceLookup * systemProvider; + static ::java::util::HashSet * printServices; + static ::java::util::HashSet * printServiceLookups; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_print_PrintServiceLookup__ |