2023-09-05 11:49:28 +08:00
|
|
|
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
|
|
|
|
#ifndef APPLICATIONCHECKER_H
|
|
|
|
#define APPLICATIONCHECKER_H
|
|
|
|
|
|
|
|
#include "desktopentry.h"
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
namespace ApplicationFilter {
|
|
|
|
|
|
|
|
bool hiddenCheck(const std::unique_ptr<DesktopEntry> &entry) noexcept;
|
|
|
|
bool tryExecCheck(const std::unique_ptr<DesktopEntry> &entry) noexcept;
|
|
|
|
bool showInCheck(const std::unique_ptr<DesktopEntry> &entry) noexcept;
|
2023-11-08 18:21:09 +08:00
|
|
|
bool hiddenCheck(const DesktopEntry &entry) noexcept;
|
|
|
|
bool tryExecCheck(const DesktopEntry &entry) noexcept;
|
|
|
|
bool showInCheck(const DesktopEntry &entry) noexcept;
|
2023-09-05 11:49:28 +08:00
|
|
|
|
|
|
|
} // namespace ApplicationFilter
|
|
|
|
#endif
|