projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
about: Merge all version info into one section.
[pulseview.git]
/
pv
/
data
/
decode
/
row.hpp
diff --git
a/pv/data/decode/row.hpp
b/pv/data/decode/row.hpp
index 9c81b8715a44c8844047e3e4bb3631bcfc37ffd5..2411d4f61afaa2344660429fc2b76348f034a269 100644
(file)
--- a/
pv/data/decode/row.hpp
+++ b/
pv/data/decode/row.hpp
@@
-14,8
+14,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PULSEVIEW_PV_DATA_DECODE_ROW_HPP
*/
#ifndef PULSEVIEW_PV_DATA_DECODE_ROW_HPP
@@
-37,23
+36,25
@@
class Row
public:
Row();
public:
Row();
- Row(const srd_decoder *decoder,
+ Row(
int index,
const srd_decoder *decoder,
const srd_decoder_annotation_row *row = nullptr);
const srd_decoder* decoder() const;
const srd_decoder_annotation_row* row() const;
const QString title() const;
const srd_decoder_annotation_row *row = nullptr);
const srd_decoder* decoder() const;
const srd_decoder_annotation_row* row() const;
const QString title() const;
+ int index() const;
bool operator<(const Row &other) const;
private:
bool operator<(const Row &other) const;
private:
+ int index_;
const srd_decoder *decoder_;
const srd_decoder_annotation_row *row_;
};
const srd_decoder *decoder_;
const srd_decoder_annotation_row *row_;
};
-}
//
decode
-}
//
data
-}
//
pv
+}
// namespace
decode
+}
// namespace
data
+}
// namespace
pv
#endif // PULSEVIEW_PV_DATA_DECODE_ROW_HPP
#endif // PULSEVIEW_PV_DATA_DECODE_ROW_HPP