mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-30 04:20:44 +00:00
update services/print_service/include/print_cups_client.h.
Signed-off-by: yyc1234 <leyunchi@huawei.com>
This commit is contained in:
parent
6bad3c9427
commit
c1e0a92a34
@ -99,6 +99,7 @@ public:
|
||||
int32_t QueryPrinterInfoByPrinterId(const std::string& printerId, PrinterInfo &info);
|
||||
int32_t DiscoverUsbPrinters(std::vector<PrinterInfo> &printers);
|
||||
int32_t QueryPrinterCapabilityFromPPD(const std::string &name, PrinterCapability &printerCaps);
|
||||
bool CheckPrinterOnline(JobMonitorParam *param, const uint32_t timeout);
|
||||
|
||||
private:
|
||||
bool HandleFiles(JobParameters *jobParams, uint32_t num_files, http_t *http, uint32_t jobId);
|
||||
@ -107,7 +108,6 @@ private:
|
||||
void HandleJobState(http_t *http, JobMonitorParam *param, JobStatus *jobStatus,
|
||||
JobStatus *prevousJobStatus);
|
||||
void QueryJobState(http_t *http, JobMonitorParam *param, JobStatus *jobStatus);
|
||||
bool CheckPrinterOnline(JobMonitorParam *param, const uint32_t timeout);
|
||||
static void JobStatusCallback(JobMonitorParam *param, JobStatus *jobStatus, bool isOffline);
|
||||
static void ReportBlockedReason(JobMonitorParam *param, JobStatus *jobStatus);
|
||||
static void SymlinkFile(std::string srcFilePath, std::string destFilePath);
|
||||
|
Loading…
Reference in New Issue
Block a user