Line data Source code
1 : #pragma once 2 : 3 : #include "AP_Networking_Config.h" 4 : 5 : #if AP_NETWORKING_BACKEND_SITL 6 : #include "AP_Networking_Backend.h" 7 : 8 : class AP_Networking_SITL : public AP_Networking_Backend 9 : { 10 : public: 11 : using AP_Networking_Backend::AP_Networking_Backend; 12 : 13 : /* Do not allow copies */ 14 : CLASS_NO_COPY(AP_Networking_SITL); 15 : 16 8 : bool init() override { 17 8 : return true; 18 : } 19 : }; 20 : 21 : #endif // AP_NETWORKING_BACKEND_SITL