diff options
Diffstat (limited to 'compiler/circledump/include/circleread/Model.h')
-rw-r--r-- | compiler/circledump/include/circleread/Model.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/compiler/circledump/include/circleread/Model.h b/compiler/circledump/include/circleread/Model.h deleted file mode 100644 index 234db8b4c..000000000 --- a/compiler/circledump/include/circleread/Model.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved - * - * 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 __CIRCLEREAD_MODEL_H__ -#define __CIRCLEREAD_MODEL_H__ - -#include <mio/circle/schema_generated.h> - -#include <memory> - -namespace circleread -{ - -struct Model -{ - virtual ~Model() = default; - - virtual const ::circle::Model *model(void) const = 0; -}; - -/** - * @brief Load Circle model (as a raw Model) from a given path - * - * @note May return a nullptr - */ -std::unique_ptr<Model> load_circle(const std::string &path); - -} // namespace circleread - -#endif // __CIRCLEREAD_MODEL_H__ |