12 lines
231 B
C++
12 lines
231 B
C++
#pragma once
|
|
|
|
#include "Widget.hpp"
|
|
#include "../WidgetConfig.hpp"
|
|
#include <memory>
|
|
|
|
class WidgetFactory {
|
|
public:
|
|
// Create widget based on WidgetType
|
|
static std::unique_ptr<Widget> create(const WidgetConfig& config);
|
|
};
|