GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
AdditionalCreationData.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
BaseComponents/BaseComponent.h
"
4
5
namespace
gui_framework
6
{
7
namespace
utility
8
{
10
template
<std::derived_from<BaseComponent> T>
11
class
GUI_FRAMEWORK_API
AdditionalCreationData
12
{
13
public
:
14
AdditionalCreationData
() =
default
;
15
16
virtual
std::any getData()
const
;
17
18
virtual
~AdditionalCreationData
() =
default
;
19
};
20
21
template
<std::derived_from<BaseComponent> T>
22
std::any
AdditionalCreationData<T>::getData
()
const
23
{
24
return
std::any();
25
}
26
}
27
}
BaseComponent.h
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
gui_framework::utility::AdditionalCreationData
Base templated class for component creators.
Definition
AdditionalCreationData.h:12
gui_framework::utility::AdditionalCreationData::getData
virtual std::any getData() const
Definition
AdditionalCreationData.h:22
gui_framework::utility::AdditionalCreationData::~AdditionalCreationData
virtual ~AdditionalCreationData()=default
gui_framework::utility::AdditionalCreationData::AdditionalCreationData
AdditionalCreationData()=default
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Utility
AdditionalCreationData
AdditionalCreationData.h
Generated by
1.12.0