1 /* 2 * Copyright (c) 2024 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 #ifndef PLUGIN_API_DOTFIELD_SYSTEM_H 17 #define PLUGIN_API_DOTFIELD_SYSTEM_H 18 19 #include <core/ecs/intf_system.h> 20 #include <core/property/property_types.h> 21 22 namespace Dotfield { 23 class IDotfieldSystem : public CORE_NS::ISystem { 24 public: 25 static constexpr BASE_NS::Uid UID{ "3288bb8a-4d6f-479c-b1b5-aeca5b26522d" }; 26 27 protected: 28 IDotfieldSystem() = default; 29 virtual ~IDotfieldSystem() = default; 30 IDotfieldSystem(const IDotfieldSystem&) = delete; 31 IDotfieldSystem(const IDotfieldSystem&&) = delete; 32 IDotfieldSystem& operator=(const IDotfieldSystem&) = delete; 33 }; 34 GetName(const IDotfieldSystem*)35inline constexpr const char* GetName(const IDotfieldSystem*) 36 { 37 return "DotfieldSystem"; 38 } 39 } // namespace Dotfield 40 #endif