summaryrefslogtreecommitdiff
path: root/libjava/javax/print/PrintServiceLookup.h
blob: 5409da90d9448d849d572a83dfc0ecbdd67622fc (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
// 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__