2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_print_CancelablePrintJob__
5 #define __javax_print_CancelablePrintJob__
9 #include <java/lang/Object.h>
16 class CancelablePrintJob
;
21 class PrintJobAttributeSet
;
22 class PrintRequestAttributeSet
;
26 class PrintJobAttributeListener
;
27 class PrintJobListener
;
33 class javax::print::CancelablePrintJob
: public ::java::lang::Object
37 virtual void cancel() = 0;
38 virtual void addPrintJobAttributeListener(::javax::print::event::PrintJobAttributeListener
*, ::javax::print::attribute::PrintJobAttributeSet
*) = 0;
39 virtual void addPrintJobListener(::javax::print::event::PrintJobListener
*) = 0;
40 virtual ::javax::print::attribute::PrintJobAttributeSet
* getAttributes() = 0;
41 virtual ::javax::print::PrintService
* getPrintService() = 0;
42 virtual void print(::javax::print::Doc
*, ::javax::print::attribute::PrintRequestAttributeSet
*) = 0;
43 virtual void removePrintJobAttributeListener(::javax::print::event::PrintJobAttributeListener
*) = 0;
44 virtual void removePrintJobListener(::javax::print::event::PrintJobListener
*) = 0;
45 static ::java::lang::Class
class$
;
46 } __attribute__ ((java_interface
));
48 #endif // __javax_print_CancelablePrintJob__