mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-23 00:50:01 +00:00
添加打印审计代码 Signed-off-by:xiongqiao3@huawei.com
Signed-off-by: xiongqiao <xiongqiao3@huawei.com>
This commit is contained in:
parent
91a0082a05
commit
db96f6e34e
@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef PRINT_SECURITY_GUARD_UTIL_H
|
||||
#define PRINT_SECURITY_GUARD_UTIL_H
|
||||
#ifndef PRINT_SECURITY_GUARD_UTIL_H
|
||||
#define PRINT_SECURITY_GUARD_UTIL_H
|
||||
|
||||
#include "print_util.h"
|
||||
|
||||
@ -47,7 +47,6 @@ inline int32_t PrintSecurityGuardUtil::GetPrinterType(const std::string& des)
|
||||
}
|
||||
return FROM_LOCAL_NET;
|
||||
}
|
||||
|
||||
} // namespace OHOS::Print
|
||||
|
||||
#endif //PRINT_SECURITY_GUARD_UTIL_H
|
||||
#endif // PRINT_SECURITY_GUARD_UTIL_H
|
@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef PRINT_UTIL_H
|
||||
#define PRINT_UTIL_H
|
||||
#ifndef PRINT_UTIL_H
|
||||
#define PRINT_UTIL_H
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
@ -87,7 +87,6 @@ inline bool PrintUtil::CheckContains(const std::string& str, const std::string&
|
||||
|
||||
return str.find(content) != std::string::npos;
|
||||
}
|
||||
|
||||
} // namespace OHOS::Print
|
||||
|
||||
#endif //PRINT_UTIL_H
|
||||
#endif // PRINT_UTIL_H
|
Loading…
Reference in New Issue
Block a user