Visual studio 2005 thinks that long long int is 64 bit. The difference between
[dasher.git] / Src / Win32 / BTSocketInput.h
blob8507b39eaa9a758cf3f974abda9c73aa60734f15
1 #pragma once
3 #include "../DasherCore/DasherInput.h"
5 #include <fstream>
6 #include <winsock2.h>
7 #include <ws2tcpip.h>
9 namespace Dasher {
10 class CBTSocketInput;
13 class Dasher::CBTSocketInput : public CDasherInput {
14 public:
15 CBTSocketInput(CEventHandler * pEventHandler, CSettingsStore * pSettingsStore);
16 ~CBTSocketInput(void);
18 virtual int GetCoordinates(int iN, myint * pCoordinates);
20 // Get the number of co-ordinates that this device supplies
22 virtual int GetCoordinateCount() {
23 return 2;
26 virtual void Activate();
27 virtual void Deactivate();
29 private:
30 SOCKET m_oSocket;