You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
844 B
35 lines
844 B
#ifndef KSIRCSERVER_H
|
|
#define KSIRCSERVER_H
|
|
|
|
#include <tqptrlist.h>
|
|
#include <tqstring.h>
|
|
|
|
class KSircServer
|
|
{
|
|
|
|
public:
|
|
KSircServer( const TQString &server,
|
|
const TQString &port,
|
|
const TQString &script = TQString::null,
|
|
const TQString &password = TQString::null,
|
|
bool ssl = false ) :
|
|
m_server(server), m_port(port), m_script(script),
|
|
m_password(password), m_ssl(ssl) {}
|
|
|
|
const TQString server() const { return m_server; }
|
|
const TQString port() const { return m_port; }
|
|
const TQString script() const { return m_script; }
|
|
const TQString password() const { return m_password; }
|
|
bool usessl() const { return m_ssl; }
|
|
|
|
private:
|
|
const TQString m_server;
|
|
const TQString m_port;
|
|
const TQString m_script;
|
|
const TQString m_password;
|
|
const bool m_ssl;
|
|
|
|
};
|
|
|
|
#endif
|