OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
ossia-qt/time_value.hpp
1#pragma once
3
4#include <QDataStream>
5
6#include <verdigris>
7
8inline QDataStream& operator<<(QDataStream& i, const ossia::time_value& sel)
9{
10 return i << qint64(sel.impl);
11}
12
13inline QDataStream& operator>>(QDataStream& i, ossia::time_value& sel)
14{
15 qint64 r;
16 i >> r;
17 sel.impl = r;
18 return i;
19}
20
21Q_DECLARE_METATYPE(ossia::time_value)
22W_REGISTER_ARGTYPE(ossia::time_value)
The time_value class.
Definition ossia/editor/scenario/time_value.hpp:30