UsbHostService.h 401 B

1234567891011121314151617181920212223242526
  1. #ifndef USBHOSTSERVICE_H
  2. #define USBHOSTSERVICE_H
  3. #include <stdint.h>
  4. #include <memory.h>
  5. class LinkAssist;
  6. class UsbHostServicePrivate;
  7. class UsbHostService
  8. {
  9. public:
  10. UsbHostService();
  11. ~UsbHostService();
  12. void addHotplugListener(LinkAssist *pLinkAssist);
  13. bool start();
  14. void stop();
  15. private:
  16. bool mStart;
  17. UsbHostServicePrivate *mHandle;
  18. };
  19. #endif // USBHOSTSERVICE_H