1 /* 2 * Copyright (c) 2020 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 // THIS FILE IS AUTO GENERATED, PLEASE DO NOT EDIT DIRECTLY 17 18 #ifndef OHOS_ACELITE_ACE_VERSION_H 19 #define OHOS_ACELITE_ACE_VERSION_H 20 21 #include "js_config.h" 22 23 #if IS_ENABLED(ACE_LITE_VERSION_JS_API) 24 25 namespace OHOS { 26 namespace ACELite { 27 class ACEVersion final { 28 public: GetStr()29 static const char *GetStr() 30 { 31 return "1.0.16"; 32 } 33 GetCommit()34 static const char *GetCommit() 35 { 36 return "1e53ee81c"; 37 } 38 GetTimeStamp()39 static const char *GetTimeStamp() 40 { 41 return "2020-08-13 17:25:20"; 42 } 43 }; // class ACEVersion 44 } // namespace ACELite 45 } // namespace OHOS 46 47 #endif // ENABLED(ACE_LITE_VERSION_JS_API) 48 #endif // OHOS_ACELITE_ACE_VERSION_H 49