From 78d38a87d5d0eaae928f2d133757df6e55c8b25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=85=E6=B3=BD=E4=BC=9F?= Date: Sun, 6 Oct 2024 02:14:10 +0000 Subject: [PATCH] update services/print_service/include/print_service_ability.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 包泽伟 --- services/print_service/include/print_service_ability.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/print_service/include/print_service_ability.h b/services/print_service/include/print_service_ability.h index 1bf2ce8..e437366 100644 --- a/services/print_service/include/print_service_ability.h +++ b/services/print_service/include/print_service_ability.h @@ -189,8 +189,8 @@ private: int32_t AddSinglePrinterInfo(const PrinterInfo &info, const std::string &extensionId); bool UpdateSinglePrinterInfo(const PrinterInfo &info, const std::string &extensionId); bool RemoveSinglePrinterInfo(const std::string &printerId); - void HandlePrinterStateChangeRegister(); - void HandlePrinterChangeRegister(); + void HandlePrinterStateChangeRegister(const std::string &eventType); + void HandlePrinterChangeRegister(const std::string &eventType); bool UpdateAddedPrinterInCups(const std::string &printerId, const std::string &printerUri); public: bool AddVendorPrinterToDiscovery(const std::string &globalVendorName, const PrinterInfo &info) override;