1.10
uiloader.h
1/*
2 * Copyright (C) 2018 Microchip Technology Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef EGT_UILOADER_H
7#define EGT_UILOADER_H
8
14#include <egt/detail/meta.h>
15#include <memory>
16#include <string>
17
18namespace egt
19{
20inline namespace v1
21{
22class Widget;
23
24namespace experimental
25{
26
37class EGT_API UiLoader
38{
39public:
40
46 virtual std::shared_ptr<Widget> load(const std::string& uri);
47};
48
49}
50}
51}
52
53#endif
Parses and loads a UI XML file.
Definition uiloader.h:38
virtual std::shared_ptr< Widget > load(const std::string &uri)
Parses and loads UI XML and returns the parent Widget.
EGT framework namespace.
Definition animation.h:24