Skip to content

Commit

Permalink
Finish up the hold/release web interface stuff (Issue #15)
Browse files Browse the repository at this point in the history
- Add hold-new-jobs and release-held-new-jobs actions to printer page.
- Refactor cancel, hold, release, and reprint job to go through the jobs page,
  like the printer operations go through the printer page.
  • Loading branch information
michaelrsweet committed Oct 30, 2022
1 parent 94c55e3 commit 72740f5
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 455 deletions.
4 changes: 0 additions & 4 deletions pappl/printer-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,14 @@ extern bool _papplPrinterSetAttributes(pappl_client_t *client, pappl_printer_t
extern void _papplPrinterUnregisterDNSSDNoLock(pappl_printer_t *printer) _PAPPL_PRIVATE;

extern void _papplPrinterWebCancelAllJobs(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebCancelJob(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebConfig(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebConfigFinalize(pappl_printer_t *printer, cups_len_t num_form, cups_option_t *form) _PAPPL_PRIVATE;
extern void _papplPrinterWebDefaults(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebDelete(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebHoldJob(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebHome(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebIteratorCallback(pappl_printer_t *printer, pappl_client_t *client) _PAPPL_PRIVATE;
extern void _papplPrinterWebJobs(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebMedia(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebReprintJob(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebReleaseJob(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;
extern void _papplPrinterWebSupplies(pappl_client_t *client, pappl_printer_t *printer) _PAPPL_PRIVATE;

extern const char *_papplColorModeString(pappl_color_mode_t value) _PAPPL_PRIVATE;
Expand Down
Loading

0 comments on commit 72740f5

Please sign in to comment.