#include <pv/data/decoderstack.h>
#include <pv/data/decode/decoder.h>
+#include <pv/prop/double.h>
#include <pv/prop/enum.h>
#include <pv/prop/int.h>
#include <pv/prop/string.h>
if (opt->values)
prop = bind_enum(name, opt, getter, setter);
+ else if (g_variant_is_of_type(opt->def, G_VARIANT_TYPE("d")))
+ prop = shared_ptr<Property>(new Double(name, 2, "",
+ none, none, getter, setter));
else if (g_variant_is_of_type(opt->def, G_VARIANT_TYPE("x")))
prop = shared_ptr<Property>(
new Int(name, "", none, getter, setter));
${PROJECT_SOURCE_DIR}/pv/device/file.cpp
${PROJECT_SOURCE_DIR}/pv/device/inputfile.cpp
${PROJECT_SOURCE_DIR}/pv/device/sessionfile.cpp
+ ${PROJECT_SOURCE_DIR}/pv/prop/double.cpp
${PROJECT_SOURCE_DIR}/pv/prop/enum.cpp
${PROJECT_SOURCE_DIR}/pv/prop/int.cpp
${PROJECT_SOURCE_DIR}/pv/prop/property.cpp
set(pulseview_TEST_HEADERS
${PROJECT_SOURCE_DIR}/pv/sigsession.h
${PROJECT_SOURCE_DIR}/pv/device/devinst.h
+ ${PROJECT_SOURCE_DIR}/pv/prop/double.h
${PROJECT_SOURCE_DIR}/pv/prop/enum.h
${PROJECT_SOURCE_DIR}/pv/prop/int.h
${PROJECT_SOURCE_DIR}/pv/prop/property.h