From 61284f84ae113d684b47bea135f31b1b99e25768 Mon Sep 17 00:00:00 2001 From: abc12133 Date: Mon, 27 Nov 2023 15:53:01 +0800 Subject: [PATCH] remove parameters.h Signed-off-by: abc12133 --- window_manager/dmserver/ft_build/BUILD.gn | 1 + window_manager/ft_adapter/parameters.h | 35 ----------------------- window_manager/wmserver/ft_build/BUILD.gn | 1 + 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 window_manager/ft_adapter/parameters.h diff --git a/window_manager/dmserver/ft_build/BUILD.gn b/window_manager/dmserver/ft_build/BUILD.gn index 951e759..a1411ab 100644 --- a/window_manager/dmserver/ft_build/BUILD.gn +++ b/window_manager/dmserver/ft_build/BUILD.gn @@ -71,5 +71,6 @@ ft_shared_library("libdms") { "//build/gn/configs/system_libs:safwk", "//build/gn/configs/system_libs:eventhandler", "//build/gn/configs/system_libs:skia", + "//build/gn/configs/system_libs:syspara", ] } diff --git a/window_manager/ft_adapter/parameters.h b/window_manager/ft_adapter/parameters.h deleted file mode 100644 index ef67548..0000000 --- a/window_manager/ft_adapter/parameters.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) 2023 Huawei Technologies Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef SYSTEM_PARAMETERS_H -#define SYSTEM_PARAMETERS_H - -#include -#include - -namespace OHOS { -namespace system { -static std::string GetParameter(const std::string& key, const std::string& def) -{ - return ""; -} -static bool SetParameter(const std::string& key, const std::string& value) -{ - return true; -} -} // namespace system -} // namespace OHOS - -#endif // SYSTEM_PARAMETERS_H \ No newline at end of file diff --git a/window_manager/wmserver/ft_build/BUILD.gn b/window_manager/wmserver/ft_build/BUILD.gn index 5eed6d5..4f3128d 100644 --- a/window_manager/wmserver/ft_build/BUILD.gn +++ b/window_manager/wmserver/ft_build/BUILD.gn @@ -98,5 +98,6 @@ ft_shared_library("libwms") { "//build/gn/configs/system_libs:skia", "//build/gn/configs/system_libs:image", "//build/gn/configs/system_libs:mmi", + "//build/gn/configs/system_libs:syspara", ] } -- Gitee