begin moving position stuff into plugin

This commit is contained in:
Kevin Hester
2020-11-28 13:51:51 +08:00
parent 5138aff4b2
commit 7737123d0f
8 changed files with 29 additions and 14 deletions

View File

@@ -26,6 +26,11 @@ class MeshPlugin
virtual ~MeshPlugin();
/** For use only by MeshService
*/
static void callPlugins(const MeshPacket &mp);
protected:
/**
* Initialize your plugin. This setup function is called once after all hardware and mesh protocol layers have
* been initialized
@@ -42,8 +47,4 @@ class MeshPlugin
@return true if you've guaranteed you've handled this message and no other handlers should be considered for it
*/
virtual bool handleReceived(const MeshPacket &mp) { return false; }
/** For use only by MeshService
*/
static void callPlugins(const MeshPacket &mp);
};