Changeset 677 for BAORadio/libindi/libindi/Indi_Stellarium/src/Server.hpp
- Timestamp:
- May 21, 2012, 3:25:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/libindi/libindi/Indi_Stellarium/src/Server.hpp
r623 r677 29 29 using namespace std; 30 30 31 class Socket ;31 class Socket2; 32 32 33 33 //! Base class for telescope server classes. A true telescope server class … … 43 43 //! Socket::prepareSelectFds() and Socket::handleSelectFds() for each connection 44 44 //! in the list. These methods are reimplemented for each class. 45 class Server 45 class Server2 46 46 { 47 47 public: 48 Server (void) {}49 Server (int port);50 virtual ~Server (void) {}48 Server2(void) {} 49 Server2(int port); 50 virtual ~Server2(void) {} 51 51 virtual void step(long long int timeout_micros); 52 52 … … 58 58 //! Connection or any custom class that implements a serial port 59 59 //! connection (such as Lx200Connection and NexStarConnection). 60 void addConnection(Socket *s)60 void addConnection(Socket2 *s) 61 61 { 62 62 if (s) … … 71 71 friend class Connection; 72 72 73 class SocketList : public list<Socket *>73 class SocketList : public list<Socket2*> 74 74 { 75 75 public:
Note:
See TracChangeset
for help on using the changeset viewer.