1 /* 2 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 /** 17 * @addtogroup UI_Utils 18 * @{ 19 * 20 * @brief Defines basic UI utils. 21 * 22 * @since 1.0 23 * @version 1.0 24 */ 25 26 /** 27 * @file version.h 28 * 29 * @brief Declares the version number control for the graphics module. This file defines functions to obtain the version 30 * number and library description. 31 * 32 * @since 1.0 33 * @version 1.0 34 */ 35 36 #ifndef GRAPHIC_LITE_VERSION_H 37 #define GRAPHIC_LITE_VERSION_H 38 #include <string> 39 40 namespace OHOS { 41 /** 42 * @brief Obtains the version number of the graphics module. 43 * 44 * @return Returns the version number of the graphics module. 45 * @since 1.0 46 * @version 1.0 47 */ 48 std::string GetVersion(); 49 50 /** 51 * @brief Obtains the library description of the graphics module. 52 * 53 * @return Returns the library description of the graphics module. 54 * @since 1.0 55 * @version 1.0 56 */ 57 std::string GetLibDsc(); 58 } // namespace OHOS 59 #endif 60