update services/print_service/include/print_cups_client.h.

Signed-off-by: yyc1234 <leyunchi@huawei.com>
This commit is contained in:
yyc1234 2024-10-17 14:14:06 +00:00 committed by Gitee
parent 6bad3c9427
commit c1e0a92a34
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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);