update services/print_service/include/print_service_ability.h.

Signed-off-by: 包泽伟 <baozewei@huawei.com>
This commit is contained in:
包泽伟 2024-10-06 02:14:10 +00:00 committed by Gitee
parent f655fef22e
commit 78d38a87d5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -189,8 +189,8 @@ private:
int32_t AddSinglePrinterInfo(const PrinterInfo &info, const std::string &extensionId); int32_t AddSinglePrinterInfo(const PrinterInfo &info, const std::string &extensionId);
bool UpdateSinglePrinterInfo(const PrinterInfo &info, const std::string &extensionId); bool UpdateSinglePrinterInfo(const PrinterInfo &info, const std::string &extensionId);
bool RemoveSinglePrinterInfo(const std::string &printerId); bool RemoveSinglePrinterInfo(const std::string &printerId);
void HandlePrinterStateChangeRegister(); void HandlePrinterStateChangeRegister(const std::string &eventType);
void HandlePrinterChangeRegister(); void HandlePrinterChangeRegister(const std::string &eventType);
bool UpdateAddedPrinterInCups(const std::string &printerId, const std::string &printerUri); bool UpdateAddedPrinterInCups(const std::string &printerId, const std::string &printerUri);
public: public:
bool AddVendorPrinterToDiscovery(const std::string &globalVendorName, const PrinterInfo &info) override; bool AddVendorPrinterToDiscovery(const std::string &globalVendorName, const PrinterInfo &info) override;