Initial MSVC 2008 projects workspace

This commit is contained in:
alexey.min
2012-02-01 05:25:08 +00:00
commit 03de3bdc95
1446 changed files with 476853 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#ifndef _H_REMOTESERVERINFO
#define _H_REMOTESERVERINFO
class RemoteServerInfo
{
public:
RemoteServerInfo();
RemoteServerInfo( const RemoteServerInfo& other );
RemoteServerInfo &operator=( const RemoteServerInfo& other );
virtual ~RemoteServerInfo();
public:
LPCTSTR desc() const;
const char *ip() const;
unsigned short port() const { return m_port; }
public:
void setDesc( LPCTSTR desc );
void setIP( const char *ip );
void setPort( unsigned short int port ) { m_port = port; }
protected:
TCHAR m_desc[128];
char m_ip[16];
unsigned short int m_port;
protected:
TCHAR str_desc[32];
char str_ip[16];
};
#endif /* _H_REMOTESERVERINFO */