GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
CheckBoxParser.cpp
Go to the documentation of this file.
1#include "CheckBoxParser.h"
2
3using namespace std;
4
5namespace gui_framework
6{
7 namespace parsers
8 {
9 void CheckBoxParser::parse(const json::utility::jsonObject& description)
10 {
11 ButtonParser::parse(description);
12
13 try
14 {
15 onCheckFunctionName = description.getString("checkFunctionName");
16 onCheckModuleName = description.getString("checkModuleName");
17 }
18 catch (const json::exceptions::CantFindValueException&)
19 {
20
21 }
22
23 try
24 {
25 onClearFunctionName = description.getString("clearFunctionName");
26 onClearModuleName = description.getString("clearModuleName");
27 }
28 catch (const json::exceptions::CantFindValueException&)
29 {
30
31 }
32 }
33 }
34}
void parse(const json::utility::jsonObject &description) override
void parse(const json::utility::jsonObject &description) override