USB Host WAN Dongle library

Fork of USBHostWANDongle_bleedingedge by Donatien Garnier

Committer:
donatien
Date:
Thu May 24 16:39:35 2012 +0000
Revision:
0:ae46a0638b2c
Child:
10:08bce4cd973a
Initial Commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
donatien 0:ae46a0638b2c 1 /* IUSBHostSerialListener.h */
donatien 0:ae46a0638b2c 2 /*
donatien 0:ae46a0638b2c 3 Copyright (C) 2012 ARM Limited.
donatien 0:ae46a0638b2c 4
donatien 0:ae46a0638b2c 5 Permission is hereby granted, free of charge, to any person obtaining a copy of
donatien 0:ae46a0638b2c 6 this software and associated documentation files (the "Software"), to deal in
donatien 0:ae46a0638b2c 7 the Software without restriction, including without limitation the rights to
donatien 0:ae46a0638b2c 8 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
donatien 0:ae46a0638b2c 9 of the Software, and to permit persons to whom the Software is furnished to do
donatien 0:ae46a0638b2c 10 so, subject to the following conditions:
donatien 0:ae46a0638b2c 11
donatien 0:ae46a0638b2c 12 The above copyright notice and this permission notice shall be included in all
donatien 0:ae46a0638b2c 13 copies or substantial portions of the Software.
donatien 0:ae46a0638b2c 14
donatien 0:ae46a0638b2c 15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
donatien 0:ae46a0638b2c 16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
donatien 0:ae46a0638b2c 17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
donatien 0:ae46a0638b2c 18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
donatien 0:ae46a0638b2c 19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
donatien 0:ae46a0638b2c 20 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
donatien 0:ae46a0638b2c 21 SOFTWARE.
donatien 0:ae46a0638b2c 22 */
donatien 0:ae46a0638b2c 23
donatien 0:ae46a0638b2c 24
donatien 0:ae46a0638b2c 25 #ifndef IUSBHOSTSERIALLISTENER_H_
donatien 0:ae46a0638b2c 26 #define IUSBHOSTSERIALLISTENER_H_
donatien 0:ae46a0638b2c 27
donatien 0:ae46a0638b2c 28 class IUSBHostSerialListener
donatien 0:ae46a0638b2c 29 {
donatien 0:ae46a0638b2c 30 public:
donatien 0:ae46a0638b2c 31 virtual void readable() = 0; //Called when new data is available
donatien 0:ae46a0638b2c 32 virtual void writeable() = 0; //Called when new space is available
donatien 0:ae46a0638b2c 33 };
donatien 0:ae46a0638b2c 34
donatien 0:ae46a0638b2c 35
donatien 0:ae46a0638b2c 36 #endif /* IUSBHOSTSERIALLISTENER_H_ */