summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/print/ipp/IppPrintService.h
blob: cbe602287d4088cc659389935ecd5c8e0e6a2bb6 (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_print_ipp_IppPrintService__
#define __gnu_javax_print_ipp_IppPrintService__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace print
      {
        namespace ipp
        {
            class IppPrintService;
            class IppResponse;
        }
      }
    }
  }
  namespace java
  {
    namespace net
    {
        class URI;
    }
  }
  namespace javax
  {
    namespace print
    {
        class DocFlavor;
        class DocPrintJob;
        class ServiceUIFactory;
      namespace attribute
      {
          class Attribute;
          class AttributeSet;
          class PrintServiceAttribute;
          class PrintServiceAttributeSet;
        namespace standard
        {
            class JobName;
            class PrinterURI;
            class RequestingUserName;
        }
      }
      namespace event
      {
          class PrintServiceAttributeListener;
      }
    }
  }
}

class gnu::javax::print::ipp::IppPrintService : public ::java::lang::Object
{

public:
  IppPrintService(::java::net::URI *, ::java::lang::String *, ::java::lang::String *);
private:
  ::java::util::Map * getPrinterAttributes();
  ::java::util::Set * getPrinterAttributeSet(::java::lang::Class *);
  ::javax::print::attribute::Attribute * getPrinterDefaultAttribute(::java::lang::Class *);
  void processResponse();
public:
  virtual ::javax::print::DocPrintJob * createPrintJob();
  virtual ::javax::print::attribute::PrintServiceAttribute * getAttribute(::java::lang::Class *);
  virtual ::javax::print::attribute::PrintServiceAttributeSet * getAttributes();
  virtual ::java::lang::Object * getDefaultAttributeValue(::java::lang::Class *);
  virtual ::java::lang::String * getName();
  virtual ::javax::print::ServiceUIFactory * getServiceUIFactory();
  virtual JArray< ::java::lang::Class * > * getSupportedAttributeCategories();
  virtual ::java::lang::Object * getSupportedAttributeValues(::java::lang::Class *, ::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *);
public: // actually protected
  virtual ::java::lang::Object * handleSupportedAttributeValuesResponse(::gnu::javax::print::ipp::IppResponse *, ::java::lang::Class *);
public:
  virtual JArray< ::javax::print::DocFlavor * > * getSupportedDocFlavors();
  virtual ::javax::print::attribute::AttributeSet * getUnsupportedAttributes(::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *);
  virtual jboolean isAttributeCategorySupported(::java::lang::Class *);
  virtual jboolean isAttributeValueSupported(::javax::print::attribute::Attribute *, ::javax::print::DocFlavor *, ::javax::print::attribute::AttributeSet *);
  virtual jboolean isDocFlavorSupported(::javax::print::DocFlavor *);
  virtual void addPrintServiceAttributeListener(::javax::print::event::PrintServiceAttributeListener *);
  virtual void removePrintServiceAttributeListener(::javax::print::event::PrintServiceAttributeListener *);
  virtual ::java::lang::String * toString();
  virtual ::javax::print::attribute::standard::PrinterURI * getPrinterURI();
private:
  ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) printerAttr;
  ::java::util::HashSet * printServiceAttributeListener;
  ::java::lang::String * user;
  ::java::lang::String * passwd;
  ::java::lang::String * name;
  ::java::util::List * flavors;
  ::javax::print::attribute::standard::PrinterURI * printerUri;
  ::java::util::ArrayList * printerUris;
public: // actually package-private
  static ::java::util::logging::Logger * logger;
public:
  static ::javax::print::attribute::standard::RequestingUserName * REQUESTING_USER_NAME;
  static ::javax::print::attribute::standard::JobName * JOB_NAME;
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_print_ipp_IppPrintService__