Index: sources/canbus/caninterface.h =================================================================== diff -u -r94f7349bd073a732dba5295250fc0e26f740743c -r4836b003eb45d7f8cb98ea4c7999d068f0beb0d2 --- sources/canbus/caninterface.h (.../caninterface.h) (revision 94f7349bd073a732dba5295250fc0e26f740743c) +++ sources/canbus/caninterface.h (.../caninterface.h) (revision 4836b003eb45d7f8cb98ea4c7999d068f0beb0d2) @@ -19,6 +19,7 @@ // Project #include "main.h" +#include "messageglobals.h" // Define #define _CanInterface Can::CanInterface::I() @@ -60,7 +61,6 @@ QThread *_thread = nullptr; bool _init = false; - typedef quint64 FrameCount; FrameCount _rxFrameCount = 0; FrameCount _txFrameCount = 0; @@ -120,12 +120,14 @@ */ void didFrameTransmit(bool ok); + void didFrameWritten(qint64 vCount); + public slots: private slots: void onFrameTransmit (const QCanBusFrame &vFrame); void onFrameReceive (); void onFrameError (QCanBusDevice::CanBusError vError); - void onFrameWritten (qint64 vFramesCount); + void onFrameWritten (qint64 vFramesCount); }; }