LibreCAD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
replacelinepatternevent.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace lc {
11  public:
17  ReplaceLinePatternEvent(const DxfLinePatternByValue_CSPtr oldLinePattern, const DxfLinePatternByValue_CSPtr newLinePattern)
18  : _oldLinePattern(oldLinePattern), _newLinePattern(newLinePattern) {
19  }
20 
25  const DxfLinePatternByValue_CSPtr oldLinePattern() const {
26  return _oldLinePattern;
27  }
28 
33  const DxfLinePatternByValue_CSPtr newLinePattern() const {
34  return _newLinePattern;
35  }
36 
37  private:
38  const DxfLinePatternByValue_CSPtr _oldLinePattern;
39  const DxfLinePatternByValue_CSPtr _newLinePattern;
40  };
41 }
const DxfLinePatternByValue_CSPtr newLinePattern() const
Return LinePattern to add.
const DxfLinePatternByValue_CSPtr oldLinePattern() const
Return LinePattern to replace.
const DxfLinePatternByValue_CSPtr _newLinePattern
Definition: cadentity.h:12
const DxfLinePatternByValue_CSPtr _oldLinePattern
ReplaceLinePatternEvent(const DxfLinePatternByValue_CSPtr oldLinePattern, const DxfLinePatternByValue_CSPtr newLinePattern)
Replace LinePattern Event.
Event that gets emitted when a new line pattern was replaced in the document.