ex
Fork of mbed-os-example-mbed5-blinky by
DuerOS-Light-SDK-v1.1.0/duer-os-light/boards/TARGET_RDA/package_scanner.h@47:9e361da97763, 2017-07-18 (annotated)
- Committer:
- TMBOY
- Date:
- Tue Jul 18 16:54:45 2017 +0800
- Revision:
- 47:9e361da97763
?
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| TMBOY | 47:9e361da97763 | 1 | #pragma once |
| TMBOY | 47:9e361da97763 | 2 | #include "package_info.h" |
| TMBOY | 47:9e361da97763 | 3 | |
| TMBOY | 47:9e361da97763 | 4 | class PackageScanner |
| TMBOY | 47:9e361da97763 | 5 | { |
| TMBOY | 47:9e361da97763 | 6 | public: |
| TMBOY | 47:9e361da97763 | 7 | PackageScanner(); |
| TMBOY | 47:9e361da97763 | 8 | ~PackageScanner(); |
| TMBOY | 47:9e361da97763 | 9 | int scan(); |
| TMBOY | 47:9e361da97763 | 10 | int getOSInfo(os_info_t& info); |
| TMBOY | 47:9e361da97763 | 11 | int getAppInfo(app_info_t*& info); |
| TMBOY | 47:9e361da97763 | 12 | private: |
| TMBOY | 47:9e361da97763 | 13 | os_info_t os_info; |
| TMBOY | 47:9e361da97763 | 14 | app_info_t *apps; //app info kept in an array which ends with null pointer |
| TMBOY | 47:9e361da97763 | 15 | }; |
