You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
560 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #include <stddef.h>
  2. #include <stdio.h>
  3. #include "sdk/components/zcancmder/zcan_protocol_parser.hpp"
  4. #include "sdk/chip/chip.hpp"
  5. #include "sdk/components/zcancmder/zcanreceiver.hpp"
  6. #include "sdk/os/zos.hpp"
  7. namespace iflytop {
  8. class GService {
  9. ZCanReceiver zcanreceiver;
  10. ZCanProtocolParser zcan_protocol_parser;
  11. public:
  12. void initialize();
  13. static GService* inst();
  14. ZCanReceiver* getZCanReceiver() { return &zcanreceiver; }
  15. ZCanProtocolParser* getZCanProtocolParser() { return &zcan_protocol_parser; }
  16. };
  17. } // namespace iflytop