1009fac99SOliver Ruiz Dorantes /* 2009fac99SOliver Ruiz Dorantes * Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com 3009fac99SOliver Ruiz Dorantes * 4009fac99SOliver Ruiz Dorantes * All rights reserved. Distributed under the terms of the MIT License. 5009fac99SOliver Ruiz Dorantes * 6009fac99SOliver Ruiz Dorantes */ 7009fac99SOliver Ruiz Dorantes 830f1d1f3SOliver Ruiz Dorantes 930f1d1f3SOliver Ruiz Dorantes #ifndef _HCITRANSPORT_ACCESSOR_H_ 1030f1d1f3SOliver Ruiz Dorantes #define _HCITRANSPORT_ACCESSOR_H_ 1130f1d1f3SOliver Ruiz Dorantes 1230f1d1f3SOliver Ruiz Dorantes #include "HCIDelegate.h" 1330f1d1f3SOliver Ruiz Dorantes 1430f1d1f3SOliver Ruiz Dorantes 1530f1d1f3SOliver Ruiz Dorantes class HCITransportAccessor : public HCIDelegate { 1630f1d1f3SOliver Ruiz Dorantes 1730f1d1f3SOliver Ruiz Dorantes public: 1830f1d1f3SOliver Ruiz Dorantes HCITransportAccessor(BPath* path); 19*ccf28e4dSOliver Ruiz Dorantes ~HCITransportAccessor(); 2030f1d1f3SOliver Ruiz Dorantes status_t IssueCommand(raw_command rc, size_t size); 2148cca06aSOliver Ruiz Dorantes status_t Launch(); 22*ccf28e4dSOliver Ruiz Dorantes private: 23*ccf28e4dSOliver Ruiz Dorantes int fDescriptor; 2430f1d1f3SOliver Ruiz Dorantes }; 2530f1d1f3SOliver Ruiz Dorantes 2630f1d1f3SOliver Ruiz Dorantes #endif 27