FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
INewBlockChoiceDelegate.h
Go to the documentation of this file.
1#ifndef BUSINESS_LOGIC_LOGIC_DELEGATE_INEW_BLOCK_CHOICE_DELEGATE_H
2#define BUSINESS_LOGIC_LOGIC_DELEGATE_INEW_BLOCK_CHOICE_DELEGATE_H
3
5
10 class
11 INewBlockChoiceDelegate { // NOLINT(cppcoreguidelines-special-member-functions,hicpp-special-member-functions)
12 public:
13 virtual ~INewBlockChoiceDelegate() = default;
14
19 virtual void onNewBlockChoice(
21 };
22} // namespace business_logic::delegate
23
24#endif // BUSINESS_LOGIC_LOGIC_DELEGATE_INEW_BLOCK_CHOICE_DELEGATE_H
Delegate that is notified when a new block is chosen to be added to the canvas.
virtual void onNewBlockChoice(const business_logic::elements::blocks::BlockType &blockType)=0
Called when a new block is chosen.
Delegates exposed by the business_logic module, used for integrating with a GUI / renderer implementa...
BlockType
The available block types.
Definition BlockType.h:10