| 1 | /***************************************************************************** |
| 2 | ** QNapi |
| 3 | ** Copyright (C) 2008-2017 Piotr KrzemiĆski <[email protected]> |
| 4 | ** |
| 5 | ** This program is free software; you can redistribute it and/or modify |
| 6 | ** it under the terms of the GNU General Public License as published by |
| 7 | ** the Free Software Foundation; either version 2 of the License, or |
| 8 | ** (at your option) any later version. |
| 9 | ** |
| 10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
| 11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | ** |
| 13 | *****************************************************************************/ |
| 14 | |
| 15 | #ifndef ENGINECONFIG_H |
| 16 | #define ENGINECONFIG_Hcxx . . $ `libqnapi/src/config/engineconfig.h:16:9`! |
| 17 | |
| 18 | #include <QString> |
| 19 | |
| 20 | class EngineConfigcxx . . $ EngineConfig# { |
| 21 | private: |
| 22 | QStringcxx . . $ QString# nick_cxx . . $ EngineConfig#nick_.; |
| 23 | QStringcxx . . $ QString# password_cxx . . $ EngineConfig#password_.; |
| 24 | |
| 25 | public: |
| 26 | EngineConfigcxx . . $ EngineConfig#EngineConfig(c1427772cd1877b0).(const QStringcxx . . $ QString#& nick = ""cxx . . $ QString#QString(85c52e162fed56f9)., const QStringcxx . . $ QString#& password = ""cxx . . $ QString#QString(85c52e162fed56f9).) |
| 27 | : nick_cxx . . $ QString#QString(3520e46b33348bf6).(nick), password_cxx . . $ EngineConfig#password_.(password) {} |
| 28 | |
| 29 | static EngineConfigcxx . . $ EngineConfig# emptycxx . . $ EngineConfig#empty.; |
| 30 | |
| 31 | QStringcxx . . $ QString# nickcxx . . $ EngineConfig#nick(6ef7b6c27b00b43d).() const { return nick_cxx . . $ EngineConfig#nick_.; } |
| 32 | QStringcxx . . $ QString# passwordcxx . . $ EngineConfig#password(6ef7b6c27b00b43d).() const { return password_cxx . . $ QString#QString(3520e46b33348bf6).; } |
| 33 | |
| 34 | const EngineConfigcxx . . $ EngineConfig# setNickcxx . . $ EngineConfig#setNick(201551da88e991cf).(const QStringcxx . . $ QString#& nick) const { |
| 35 | return EngineConfigcxx . . $ EngineConfig#(nick, password_cxx . . $ EngineConfig#password_.); |
| 36 | } |
| 37 | const EngineConfigcxx . . $ EngineConfig# setPasswordcxx . . $ EngineConfig#setPassword(201551da88e991cf).(const QStringcxx . . $ QString#& password) const { |
| 38 | return EngineConfigcxx . . $ EngineConfig#(nick_cxx . . $ EngineConfig#nick_., password); |
| 39 | } |
| 40 | |
| 41 | QStringcxx . . $ QString# toStringcxx . . $ EngineConfig#toString(6ef7b6c27b00b43d).() const; |
| 42 | }; |
| 43 | |
| 44 | #endif |