GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
MainWindowParser.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
SeparateWindowParser.h
"
4
#include "
BaseComposites/StandardComposites/BaseMainWindow.h
"
5
6
namespace
gui_framework
7
{
8
namespace
parsers
9
{
11
struct
GUI_FRAMEWORK_API
MainWindowParser
:
public
SeparateWindowParser
12
{
13
uint16_t
trayIconResource
;
14
std::vector<std::pair<std::wstring, BaseMainWindow::Function>>
items
;
15
bool
alwaysShowTrayIcon
;
16
17
public
:
18
MainWindowParser
();
19
20
void
parse(
const
json::utility::jsonObject& description)
override
;
21
22
~MainWindowParser
() =
default
;
23
};
24
}
25
}
BaseMainWindow.h
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
SeparateWindowParser.h
gui_framework
Definition
BaseComponent.cpp:21
gui_framework::parsers::MainWindowParser
Parse MainWindowParser specific properties.
Definition
MainWindowParser.h:12
gui_framework::parsers::MainWindowParser::alwaysShowTrayIcon
bool alwaysShowTrayIcon
Definition
MainWindowParser.h:15
gui_framework::parsers::MainWindowParser::trayIconResource
uint16_t trayIconResource
Definition
MainWindowParser.h:13
gui_framework::parsers::MainWindowParser::~MainWindowParser
~MainWindowParser()=default
gui_framework::parsers::MainWindowParser::items
std::vector< std::pair< std::wstring, BaseMainWindow::Function > > items
Definition
MainWindowParser.h:14
gui_framework::parsers::SeparateWindowParser
Parse SeparateWindow specific properties.
Definition
SeparateWindowParser.h:11
GUIFramework
src
Deserialization
Parsers
MainWindowParser.h
Generated by
1.12.0