CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
nlmfactory.h
Go to the documentation of this file.
1#ifndef NLMFACTORY_H
2#define NLMFACTORY_H
3
4#include "gui/nlmcheckbox.h"
5#include "gui/nlmlineedit.h"
6#include "gui/nlmpushbutton.h"
8
10 virtual ~NLMFactory()
11 {
12 }
13
15 {
16 return new NLMCheckBox();
17 }
19 {
20 return new NLMLineEdit;
21 }
23 {
24 return new NLMPushButton;
25 }
26};
27#endif // NLMFACTORY_H
Definition checkboxinterface.h:7
Definition lineeditinterface.h:8
Definition nlmcheckbox.h:9
Definition nlmfactory.h:9
LineEditInterface * createLineEdit() override
Definition nlmfactory.h:18
CheckBoxInterface * createCheckBox() override
Definition nlmfactory.h:14
virtual ~NLMFactory()
Definition nlmfactory.h:10
PushButtonInterface * createPushButton() override
Definition nlmfactory.h:22
Definition nlmfactoryinterface.h:8
Definition nlmlineedit.h:7
Definition nlmpushbutton.h:7
Definition pushbuttoninterface.h:8