fix friend class issues to make GCC happy;

pull/12/head
Bryan Biedenkapp 4 years ago
parent 4239d21a2b
commit e018d99630

@ -59,9 +59,6 @@ namespace p25
virtual bool process(uint8_t* data, uint32_t len, bool preDecoded = false);
protected:
friend class DFSIVoicePacket;
friend class Control;
LC m_rfDFSILC;
LC m_netDFSILC;
@ -80,6 +77,10 @@ namespace p25
//virtual void writeNet_TDULC(lc::TDULC lc);
/// <summary>Helper to write a network single-block P25 TSDU packet.</summary>
virtual void writeNet_TSDU();
private:
friend class DFSIVoicePacket;
friend class p25::Control;
};
} // namespace dfsi
} // namespace p25

@ -65,9 +65,6 @@ namespace p25
virtual bool processNetwork(uint8_t* data, uint32_t len, lc::LC& control, data::LowSpeedData& lsd, uint8_t& duid);
protected:
friend class DFSITrunkPacket;
friend class Control;
LC m_rfDFSILC;
LC m_netDFSILC;
@ -85,6 +82,10 @@ namespace p25
virtual void writeNet_LDU1();
/// <summary>Helper to write a network P25 LDU1 packet.</summary>
virtual void writeNet_LDU2();
private:
friend class DFSITrunkPacket;
friend class p25::Control;
};
} // namespace dfsi
} // namespace p25

Loading…
Cancel
Save

Powered by TurnKey Linux.