lean up event model so that this will work under OS X (and hopefully Linux)

still need to refactor some stuff -- lots of code duplication here that
we can get rid of
This commit is contained in:
bushing 2009-12-22 12:46:04 +00:00
commit 9b25560889
5 changed files with 395 additions and 447 deletions

View file

@ -14,7 +14,8 @@ typedef WORD uint16_t;
// prox.cpp
void ReceiveCommand(UsbCommand *c);
bool ReceiveCommandPoll(UsbCommand *c);
void SendCommand(UsbCommand *c, bool);
void SendCommand(UsbCommand *c);
void WaitForAck(void);
void wait_for_response(uint32_t command_type);
// gui.cpp