src/basics.cpp

changeset 1308
dcc8c02530c2
parent 1305
31627acdd4b5
child 1313
4baed9f54de3
equal deleted inserted replaced
1307:adb9d32a1426 1308:dcc8c02530c2
376 Winding& operator^=(Winding& one, Winding other) 376 Winding& operator^=(Winding& one, Winding other)
377 { 377 {
378 one = one ^ other; 378 one = one ^ other;
379 return one; 379 return one;
380 } 380 }
381
382 QDataStream& operator<<(QDataStream& out, const Library& library)
383 {
384 return out << library.path << library.role;
385 }
386
387 QDataStream& operator>>(QDataStream &in, Library& library)
388 {
389 return in >> library.path >> enum_cast<>(library.role);
390 }

mercurial