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