diff options
Diffstat (limited to 'src/parser/parse_element.h')
| -rw-r--r-- | src/parser/parse_element.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/parser/parse_element.h b/src/parser/parse_element.h index ebd08ab..8bd3bf3 100644 --- a/src/parser/parse_element.h +++ b/src/parser/parse_element.h @@ -1,6 +1,7 @@ #pragma once #include "alldevices.h" +#include "power_meter.h" #include "subcircuit_instance.h" #include "parse_tree.h" #include "specs.h" @@ -95,6 +96,7 @@ DECLARE_UNIDIR_ELEMENT(PCMCellElement, "PCM CELL", PCMElement, 2); DECLARE_UNIDIR_ELEMENT(PhotodetectorElement, "PHOTODETECTOR", Detector, 2); DECLARE_UNIDIR_ELEMENT(ProbeElement, "PROBE", Probe, 1); DECLARE_UNIDIR_ELEMENT(MLProbeElement, "MULTIWAVELENGTH PROBE", MLambdaProbe, 1); +DECLARE_UNIDIR_ELEMENT(PowerMeterElement, "POWER METER", PowerMeter, 1); // TODO: take care of subcircuit instance... DECLARE_UNIDIR_ELEMENT(XElement, "SUBCIRCUIT", SubcircuitInstance, 1); @@ -103,4 +105,4 @@ DECLARE_UNIDIR_ELEMENT(XElement, "SUBCIRCUIT", SubcircuitInstance, 1); /** Undefine macros **/ /** ******************************************* **/ #undef DECLARE_UNIDIR_ELEMENT -#undef DECLARE_BIDIR_ELEMENT
\ No newline at end of file +#undef DECLARE_BIDIR_ELEMENT |
