namespace AniDBUdpClient {
+MyListAddCommand::MyListAddCommand() : AbstractCommand()
+{
+ init();
+}
MyListAddCommand::MyListAddCommand(int fid, bool edit) : AbstractCommand()
{
Viewed = 1,
};
+ MyListAddCommand();
MyListAddCommand(int fid, bool edit);
MyListAddCommand(const QByteArray &ed2k, qint64 size, bool edit);
explicit MyListAddCommand(int lid);
m_requiresSession = requireAuthentication;
}
+void RawCommand::setCommand(const QString &command)
+{
+ m_command = command;
+}
+
+QString RawCommand::command() const
+{
+ return m_command;
+}
+
void RawCommand::setRequiresSession(bool requiresSession)
{
m_requiresSession = requiresSession;
{
public:
typedef RawReply ReplyType;
- RawCommand(const QString &command, bool requiresSession = true);
+ RawCommand(const QString &command = QString(), bool requiresSession = true);
+
+ void setCommand(const QString &command);
+ QString command() const;
void setRequiresSession(bool requiresSession);