projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
binding/prop: Add a description field.
[pulseview.git]
/
pv
/
binding
/
decoder.hpp
diff --git
a/pv/binding/decoder.hpp
b/pv/binding/decoder.hpp
index dce9533252fad4e13c490d7b5f811da5aa091b93..bf670403dee317f486c5d43ab093eb74932288fa 100644
(file)
--- a/
pv/binding/decoder.hpp
+++ b/
pv/binding/decoder.hpp
@@
-24,6
+24,8
@@
#include <pv/prop/property.hpp>
#include <pv/prop/property.hpp>
+using std::shared_ptr;
+
struct srd_decoder_option;
namespace pv {
struct srd_decoder_option;
namespace pv {
@@
-40,12
+42,12
@@
namespace binding {
class Decoder : public Binding
{
public:
class Decoder : public Binding
{
public:
- Decoder(s
td::s
hared_ptr<pv::data::DecoderStack> decoder_stack,
- s
td::s
hared_ptr<pv::data::decode::Decoder> decoder);
+ Decoder(shared_ptr<pv::data::DecoderStack> decoder_stack,
+ shared_ptr<pv::data::decode::Decoder> decoder);
private:
private:
- static s
td::s
hared_ptr<prop::Property> bind_enum(const QString &name,
- const srd_decoder_option *option,
+ static shared_ptr<prop::Property> bind_enum(const QString &name,
+ const
QString &desc, const
srd_decoder_option *option,
prop::Property::Getter getter, prop::Property::Setter setter);
Glib::VariantBase getter(const char *id);
prop::Property::Getter getter, prop::Property::Setter setter);
Glib::VariantBase getter(const char *id);
@@
-53,11
+55,11
@@
private:
void setter(const char *id, Glib::VariantBase value);
private:
void setter(const char *id, Glib::VariantBase value);
private:
- s
td::s
hared_ptr<pv::data::DecoderStack> decoder_stack_;
- s
td::s
hared_ptr<pv::data::decode::Decoder> decoder_;
+ shared_ptr<pv::data::DecoderStack> decoder_stack_;
+ shared_ptr<pv::data::decode::Decoder> decoder_;
};
};
-}
//
binding
-}
//
pv
+}
// namespace
binding
+}
// namespace
pv
#endif // PULSEVIEW_PV_BINDING_DECODER_HPP
#endif // PULSEVIEW_PV_BINDING_DECODER_HPP