%shared_ptr(sigrok::Analog);
%shared_ptr(sigrok::Logic);
%shared_ptr(sigrok::InputFormat);
-%shared_ptr(sigrok::InputFileDevice);
+%shared_ptr(sigrok::Input);
+%shared_ptr(sigrok::InputDevice);
%shared_ptr(sigrok::Option);
%shared_ptr(sigrok::OutputFormat);
%shared_ptr(sigrok::Output);
%attributestring(sigrok::InputFormat,
std::string, description, get_description);
+%attributestring(sigrok::Input,
+ std::shared_ptr<sigrok::InputDevice>, device, get_device);
+
%attributestring(sigrok::Option,
std::string, id, get_id);
%attributestring(sigrok::Option,