2#include <ossia/dataflow/token_request.hpp>
4#include <ossia-qt/time.hpp>
10inline QDataStream& operator<<(QDataStream& i,
const ossia::token_request& sel)
12 return i << sel.prev_date << sel.date << sel.parent_duration << sel.offset << sel.speed
13 << sel.tempo << sel.signature << sel.musical_start_last_signature
14 << sel.musical_start_last_bar << sel.musical_start_position
15 << sel.musical_end_last_bar << sel.musical_end_position
16 << sel.start_discontinuous << sel.end_discontinuous;
19inline QDataStream& operator>>(QDataStream& i, ossia::token_request& sel)
21 return i >> sel.prev_date >> sel.date >> sel.parent_duration >> sel.offset >> sel.speed
22 >> sel.tempo >> sel.signature >> sel.musical_start_last_signature
23 >> sel.musical_start_last_bar >> sel.musical_start_position
24 >> sel.musical_end_last_bar >> sel.musical_end_position
25 >> sel.start_discontinuous >> sel.end_discontinuous;
28Q_DECLARE_METATYPE(ossia::token_request)
29W_REGISTER_ARGTYPE(ossia::token_request)