struct srd_decoder;
struct srd_decoder_inst;
struct srd_probe;
+struct srd_session;
namespace pv {
public:
Decoder(const srd_decoder *const decoder,
std::map<const srd_probe*,
- boost::shared_ptr<pv::view::Signal> > probes);
+ boost::shared_ptr<pv::view::Signal> > probes,
+ GHashTable *options);
virtual ~Decoder();
static void annotation_callback(srd_proto_data *pdata,
void *decoder);
+signals:
+ void new_decode_data();
+
private:
const srd_decoder *const _decoder;
std::map<const srd_probe*, boost::shared_ptr<view::Signal> >
_probes;
+ GHashTable *_options;
+ srd_session *_session;
srd_decoder_inst *_decoder_inst;
mutable boost::mutex _annotations_mutex;