mirror of
https://github.com/znc/znc.git
synced 2026-07-21 09:03:32 +02:00
Initial revision
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef _SERVER_H
|
||||
#define _SERVER_H
|
||||
|
||||
#include <string.h>
|
||||
|
||||
class CServer {
|
||||
public:
|
||||
CServer(const string& sName, unsigned short uPort = 6667, const string& sPass = "", bool bSSL = false);
|
||||
virtual ~CServer();
|
||||
|
||||
const string& GetName() const;
|
||||
unsigned short GetPort() const;
|
||||
const string& GetPass() const;
|
||||
bool IsSSL() const;
|
||||
private:
|
||||
protected:
|
||||
string m_sName;
|
||||
unsigned short m_uPort;
|
||||
string m_sPass;
|
||||
bool m_bSSL;
|
||||
};
|
||||
|
||||
#endif // !_SERVER_H
|
||||
Reference in New Issue
Block a user