GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
IconListViewAdditionalCreationData.cpp
Go to the documentation of this file.
1
#include "
IconListViewAdditionalCreationData.h
"
2
3
using namespace
std;
4
5
namespace
gui_framework
6
{
7
namespace
utility
8
{
9
AdditionalCreationData<IconListView>::AdditionalCreationData
(
utility::iconListViewType
type,
const
vector<filesystem::path>& pathToIcons) :
10
type(type),
11
pathToIcons(pathToIcons)
12
{
13
14
}
15
16
any
AdditionalCreationData<IconListView>::getData
()
const
17
{
18
return
make_any<tuple<iconListViewType, vector<filesystem::path>>>(type, pathToIcons);
19
}
20
21
AdditionalCreationData<ListIconListView>::AdditionalCreationData
(
utility::iconListViewType
type,
const
vector<filesystem::path>& pathToIcons) :
22
type(type),
23
pathToIcons(pathToIcons)
24
{
25
26
}
27
28
any
AdditionalCreationData<ListIconListView>::getData
()
const
29
{
30
return
make_any<tuple<iconListViewType, vector<filesystem::path>>>(type, pathToIcons);
31
}
32
}
33
}
IconListViewAdditionalCreationData.h
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
AdditionalCreationData()=default
gui_framework::utility::iconListViewType
iconListViewType
Definition
BaseLoadableHolder.h:13
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Utility
AdditionalCreationData
IconListViewAdditionalCreationData.cpp
Generated by
1.12.0