Index: sources/canbus/messageinterpreter.h =================================================================== diff -u -r8f6f7c11390e3ed6d918f1717d8e8b7ae5b7e5c6 -rd3f916066c2d10c10fffa91fd8a7e5ac6dd86c7d --- sources/canbus/messageinterpreter.h (.../messageinterpreter.h) (revision 8f6f7c11390e3ed6d918f1717d8e8b7ae5b7e5c6) +++ sources/canbus/messageinterpreter.h (.../messageinterpreter.h) (revision d3f916066c2d10c10fffa91fd8a7e5ac6dd86c7d) @@ -20,6 +20,10 @@ #include "messageglobals.h" #include "mmodel.h" +// forward declaration +class tst_messaging; +class tst_logging; + namespace Can { /*! @@ -33,6 +37,10 @@ { Q_OBJECT + // friend + friend class ::tst_messaging; + friend class ::tst_logging; + bool isType(const Message &vMessage, Gui::GuiActionType vType) const; bool isPayloadLenValid(const Message &vMessage, Gui::GuiActionType vType) const;