]> www.average.org Git - loctrkd.git/blobdiff - loctrkd/mkgpx.py
protocols: make "interface" module
[loctrkd.git] / loctrkd / mkgpx.py
index 4ea74355ad5c12e4101845a35be41c83a42b7fcb..6c1ce002327bb0e49f29bb0af9725ffa2ed38e60 100644 (file)
@@ -14,20 +14,11 @@ from sys import argv
 from typing import Any, cast, List, Tuple
 
 from . import common
+from .protomodule import ProtoModule
 
 log = getLogger("loctrkd/mkgpx")
 
 
-class ProtoModule:
-    @staticmethod
-    def proto_handled(proto: str) -> bool:
-        ...
-
-    @staticmethod
-    def parse_message(packet: bytes, is_incoming: bool = True) -> Any:
-        ...
-
-
 pmods: List[ProtoModule] = []